Last active
February 7, 2021 17:42
-
-
Save lucianosousa/76f0339876263f281146af3dd7dbe80f to your computer and use it in GitHub Desktop.
Fixing Symbol not found: _ffi_prep_closure_loc error on OSX Mojave
This file contains hidden or 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
``` | |
dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc | |
Referenced from: /Users/ls/.gem/ruby/3.0.0/gems/ffi-1.14.2/lib/ffi_c.bundle | |
Expected in: /usr/lib/libffi.dylib | |
dyld: Symbol not found: _ffi_prep_closure_loc | |
Referenced from: /Users/ls/.gem/ruby/3.0.0/gems/ffi-1.14.2/lib/ffi_c.bundle | |
Expected in: /usr/lib/libffi.dylib | |
Abort trap: 6 | |
``` | |
$ gem uninstall ffi | |
$ gem install ffi -- --disable-system-libffi | |
#Give a try on: | |
`$ bundle config build.ffi --disable-system-libffi` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment