Skip to content

Instantly share code, notes, and snippets.

@Dreyer
Created January 20, 2017 11:27
Show Gist options
  • Save Dreyer/0a0976f5606c0c963ab9a622f03ee26d to your computer and use it in GitHub Desktop.
Save Dreyer/0a0976f5606c0c963ab9a622f03ee26d to your computer and use it in GitHub Desktop.
[perlbrew] ld: library not found for -lgcc_s.10.4
$ 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
@richddr
Copy link

richddr commented Jul 16, 2019

It also worked for @simonyun

@kamil-gwozdz
Copy link

kamil-gwozdz commented Jul 29, 2019

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