1.7.12, 1.7.13: Could not open library 'libc.dylib' : dlopen(libc.dylib, 5): image not found
in jgem with DYLD_FALLBACK_LIBRARY_PATH
#1830
Labels
Milestone
I first reported this issue in rbenv/ruby-build#601. Basically, my boxen/homebrew setup on OS X 10.9.4 installs a modified java wrapper that sets
DYLD_FALLBACK_LIBRARY_PATH
. From/opt/boxen/bin/java
:When DYLD_FALLBACK_LIBRARY_PATH is setup,
jgem
has the following error:This error occurs using the binary 1.7.13 and 1.7.12 packages from the website. 1.7.11 and below do not seem affected. A work around is to put
export DYLD_FALLBACK_LIBRARY_PATH=/usr/lib
in your profile. However, it seems like this is a bug and should not need the work around, as "FALLBACK" implies that it should only be consulted if the normal search paths come up empty.The text was updated successfully, but these errors were encountered: