Summary: | >=dev-lang/ruby-2.2.* musl - error loading shared library libruby22.so.2.2: no such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Lushnikov <vladimir> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | musl, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 |
Description
Vladimir Lushnikov
2016-01-08 00:50:55 UTC
The makefiles for ruby 2.0 and ruby 2.2 to execute miniruby [...] ./tool/runruby.rb are almost the same. However if you compare the strace output of doing so, on my machine at least, miniruby for 2.2 seems to have an extra call to open("/etc/ld-musl-x86_64.path"). However, I previously tried running the full miniruby command outside of the sandbox to test whether it worked when the original ebuild failed, and it actually installed /usr/lib/libruby2.2.so* . Which meant that the error above is actually invalid. The actual error when the Makefile is executing miniruby [...] ./tool/runruby.rb is: Error loading shared library libruby22.so.2.2: No such file or directory (needed by ./ruby22) Patching the ebuild to export the LD_LIBRARY_PATH="$WORKDIR/$P" (which is where libruby22.so is located) before emake install makes this error go away. I am currently doing more testing to see whether anything else is broken by this change. *** This bug has been marked as a duplicate of bug 564272 *** |