Q:

Emacs stop working in Mac OSX Catalina. How to fix?

I keep getting this error. Try to reinstall with "brew reinstall emacs", "brew install libffi", "brew link libffi". Nothing helps.

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

A:

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

A:

I had a similar problem installing from source,
brew reinstall p11-kit

was the fix for me

