dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib

yiye picture yiye · May 23, 2017 · Viewed 31.4k times · Source

Using electron-builder to build Windows app, When signing up, I got this error :

dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
  Referenced from: /Users/puss/Library/Caches/electron-builder/winCodeSign/winCodeSign-1.7.0/darwin/osslsigncode
  Reason: image not found

Answer

unifreak picture unifreak · Dec 7, 2019

If you are in MacOS 10.15 (Catalina), try this (reinstall openssl):

brew update && brew upgrade
brew uninstall openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb