I keep getting this error:
emacs dyld: Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib Referenced from: /usr/local/opt/p11-kit/lib/libp11-kit.0.dylib Reason: image not found Abort trap: 6
I tried to reinstall with brew reinstall emacs
, brew install libffi
, brew link libffi
. Nothing helps.
Same problem but different issues:
dyld[5893]: Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib
Referenced from: /usr/local/Cellar/[email protected]/7.4.23/bin/php
Reason: tried: '/usr/local/opt/libffi/lib/libffi.7.dylib' (no such file), '/usr/local/lib/libffi.7.dylib' (no such file), '/usr/lib/libffi.7.dylib' (no such file), '/usr/local/Cellar/libffi/3.4.2/lib/libffi.7.dylib' (no such file), '/usr/local/lib/libffi.7.dylib' (no such file), '/usr/lib/libffi.7.dylib' (no such file)
It works for me:
brew reinstall libffi
I had a similar problem after upgrading to macOS Catalina 10.15.4
. I got this error:
$ emacs file.txt
dyld: Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib
Referenced from: /usr/local/opt/p11-kit/lib/libp11-kit.0.dylib
Reason: image not found
Reinstalling emacs
with brew solved the problem.
brew reinstall emacs
I had a similar problem installing from source,
brew reinstall p11-kit
was the fix for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With