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

烂漫一生 提交于 2019-12-30 00:32:12

问题


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

回答1:


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

brew remove openssl
brew install openssl



回答2:


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



回答3:


For me, re-installing openssh (not openssl) was the only solution.

brew remove openssh
brew install openssh


来源:https://stackoverflow.com/questions/44125147/dyld-library-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!