Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 406
yiye Avatar asked May 23 '17 03:05

yiye


3 Answers

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
like image 103
unifreak Avatar answered Oct 30 '22 03:10

unifreak


I try to uninstall openssl and reinstall openssl, It worked.

brew remove openssl
brew install openssl
like image 35
yiye Avatar answered Oct 30 '22 03:10

yiye


Just switch to 1.0.2t version, using this command:

brew switch openssl 1.0.2t
like image 30
Bruno Wego Avatar answered Oct 30 '22 05:10

Bruno Wego