Emacs在Mac OSX Catalina上停止工作。如何修复?

huangapple go评论72阅读模式
英文:

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 emacsbrew install libffibrew 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

huangapple
  • 本文由 发表于 2020年1月4日 00:35:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/59582101.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定