Fix [dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib] error – Catalina MacOS
Dev life is not ease, there are always some bugs or glitches, or challenges which steal our time… instead of coding, you have to resolve this freaking errors.
So today I’ve tried to install weather plugin into zsh.. Ok whatever – if you reading this, you want solution, not read my life story…
What I did? Of course looked at google, how can I solve this problem… What helped me:
brew uninstall --ignore-dependencies openssl rm -rf /usr/local/etc/openssl brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/30fd2b68feb458656c2da2b91e577960b11c42f4/Formula/openssl.rb # you have to have xcode(--select) or sth to compile openssl from scratch # then I needed to create symlink to openssl in /usr/local/opt to new installed ln -s /usr/local/Cellar/openssl@1.0.2t/1.0.2t/ /usr/local/opt/openssl
…and it should just work fine…
Ok Surprise… next day it stoped working… Still I’ve got this error:
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /usr/local/bin/wget Reason: image not found
So I checked existence of openssl@1.0.x folder, copied file libssl.1.0.0.dylib to this folder, and again it worked 馃榾
Najnowsze komentarze