Created
January 20, 2017 11:27
-
-
Save Dreyer/0a0976f5606c0c963ab9a622f03ee26d to your computer and use it in GitHub Desktop.
[perlbrew] ld: library not found for -lgcc_s.10.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/local/lib | |
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib | |
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib |
I ran into this error while trying to bundle update my gems on a Rails app. For some reason it got stuck while trying to update the ffi gem:
An error occurred while installing ffi (1.11.1), and Bundler cannot continue
So your symlinks worked. Thanks!
It also worked for @simonyun
I ran into this error while trying to bundle update my gems on a Rails app. For some reason it got stuck while trying to update the ffi gem:
An error occurred while installing ffi (1.11.1), and Bundler cannot continue
So your symlinks worked. Thanks!
I run into this as well while installing ffi 1.9.10, luckily this gist helped me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found another answer which works for LuaJIT. If you're setting
MACOSX_DEPLOYMENT_TARGET
manually, change it to10.6
or higher, the build starts working again. The SE answer may work at the moment, but the 10.4 SDK is deprecated and will likely go away permanently at some point.LuaJIT/LuaJIT#484