LoadError: undefined symbol: __libc_single_threaded
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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus rubyjs/mini_racer
-
platform: darwin/x86
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
rubyjs/mini_racer#388 · 4 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
rubyjs/mini_racer#376 ·
-
Load script as moduleOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
rubyjs/mini_racer#353 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
rubyjs/mini_racer#324 · 1 Kommentar · 1 Reaktion ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
rubyjs/mini_racer#302 · 3 Kommentare ·
Alle Issues in rubyjs/mini_racer
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Query Log shows "Upstream" for CNAME cloaking, schedule, NXDOMAIN hijack and response IP blocksOffenbug good first issue query-log web
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
ferrous-networking/ferrous-dns#326 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Ylianst/MeshCentral#8294 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
yunaremaia/jsonl-cli#1 · 1 Kommentar ·