Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

LoadError: undefined symbol: __libc_single_threaded

Offen
#346 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
docker, javascript, ruby
Bereich
backend

Rechercherichtung

Start by comparing the mini_racer 0.18.0 installation and load behavior in the reported Debian Bullseye and Bookworm Ruby 3.3 Docker images. Trace how the native extension is built and linked, then identify which dependency or build setting causes the missing symbol on Bullseye. Done means require 'mini_racer' succeeds on a clean Bullseye install as well as Bookworm.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Since 0.18.0 we're seeing this load error and have reproduced on a clean Debian Bullseye install.

$ docker run -it ruby:3.3-bullseye /bin/bash
...
root@794a95a98f8c:/# gem install mini_racer
...
Successfully installed mini_racer-0.18.0
...
root@794a95a98f8c:/# irb
irb(main):001> require 'mini_racer'
/usr/local/bundle/gems/mini_racer-0.18.0/lib/mini_racer.rb:22:in `load': /usr/local/bundle/extensions/aarch64-linux/3.3.0/mini_racer-0.18.0/mini_racer_extension.so: undefined symbol: __libc_single_threaded (LoadError)
	from /usr/local/bundle/gems/mini_racer-0.18.0/lib/mini_racer.rb:22:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:141:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:141:in `rescue in require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:135:in `require'
	from (irb):1:in `<main>'
	from <internal:kernel>:187:in `loop'
	from /usr/local/lib/ruby/gems/3.3.0/gems/irb-1.13.1/exe/irb:9:in `<top (required)>'
	from /usr/local/bin/irb:25:in `load'
	from /usr/local/bin/irb:25:in `<main>'
<internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- mini_racer (LoadError)
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from (irb):1:in `<main>'
	from /usr/local/lib/ruby/3.3.0/irb/workspace.rb:121:in `eval'
	from /usr/local/lib/ruby/3.3.0/irb/workspace.rb:121:in `evaluate'
	from /usr/local/lib/ruby/3.3.0/irb/context.rb:633:in `evaluate_expression'
	from /usr/local/lib/ruby/3.3.0/irb/context.rb:600:in `evaluate'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1049:in `block (2 levels) in eval_input'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1380:in `signal_status'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1041:in `block in eval_input'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1120:in `block in each_top_level_statement'
	from <internal:kernel>:187:in `loop'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1117:in `each_top_level_statement'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1040:in `eval_input'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1021:in `block in run'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1020:in `catch'
	from /usr/local/lib/ruby/3.3.0/irb.rb:1020:in `run'
	... 4 levels...

This works fine for Bookworm.

$ docker run -it ruby:3.3-bookworm /bin/bash
...
root@b67ce8166799:/# gem install mini_racer
...
Successfully installed mini_racer-0.18.0
...
root@b67ce8166799:/# irb
irb(main):001> require 'mini_racer'
=> true
Vorherrschende Sprache
JavaScript
Sterne
628
Forks
100
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rubyjs/mini_racer

Alle Issues in rubyjs/mini_racer

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.