英文:
Emacs stop working in Mac OSX Catalina. How to fix?
问题
我一直收到这个错误:
> 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
我尝试使用 brew reinstall emacs
,brew install libffi
,brew link libffi
重新安装,但都没有帮助。
英文:
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.
答案1
得分: 17
我在升级到 macOS Catalina 10.15.4
后遇到了类似的问题。我收到了以下错误信息:
$ 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
使用 brew 重新安装 emacs
解决了这个问题。
brew reinstall emacs
英文:
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
答案2
得分: 10
我遇到了类似的问题,在源代码安装时,
brew reinstall p11-kit
对我来说解决了问题。
英文:
I had a similar problem installing from source,
brew reinstall p11-kit
was the fix for me
答案3
得分: 1
dyld[5893]: Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib
Referenced from: /usr/local/Cellar/php@7.4/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
英文:
Same problem but different issues:
dyld[5893]: Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib
Referenced from: /usr/local/Cellar/php@7.4/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
答案4
得分: 0
遇到了使用 scrapy shell
命令时的相同问题
解决方法是在 macOS 上执行以下命令:
pip3 install --force-reinstall cryptography
英文:
Faced same issue while using scrapy shell
command
Solved this using
pip3 install --force-reinstall cryptography
on Mac OS
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论