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
For me, re-installing openssh (not openssl) was the only solution.
brew remove openssh
brew install openssh
Thanks unifreak, I fixed this problem on macOS v10.11.6 at Tue Apr 28 2020 again.
REF: https://stackoverflow.com/a/59224109/686105
Update homebrew index and upgrade. (option)
[ chusiang@osx_el_capitan ~ ]
$ brew update && brew upgrade
Try to remove the openssl@1.1
.
[ chusiang@osx_el_capitan ~ ]
$ brew uninstall openssl@1.1
Error: Refusing to uninstall /usr/local/Cellar/openssl@1.1/1.1.1g
because it is required by ansible-lint, atk, cairo, gdk-pixbuf, glib, gnupg, gnutls, gobject-introspection, gsettings-desktop-schemas, gtk+3, gtk-doc, harfbuzz, ipmitool, ipython, irssi, itstool, krb5, libevent, libfido2, libpq, libssh, libssh2, libxml2, macvim, meson, nmap, openssh, pango, pgcli, postgresql, python, python@2, python@3.8, ruby, rust, s3cmd, sdcv, sphinx-doc, sshuttle, tcpdump, tmate, tmux, travis, unbound, vim, w3m, wget and zenity, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies openssl@1.1
Remove the openssl@1.1
with --ignore-dependencies
args.
[ chusiang@osx_el_capitan ~ ]
$ brew uninstall --ignore-dependencies openssl@1.1
Uninstalling /usr/local/Cellar/openssl@1.1/1.1.1g... (8,052 files, 18.4MB)
Install the specific version of openssl v1.0.0.
[ chusiang@osx_el_capitan ~ ]
$ brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Lock the openssl version with v1.0.0.
[ chusiang@osx_el_capitan ~ ]
$ brew pin https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Add this openssl into $PATH
.
[ chusiang@osx_el_capitan ~ ]
$ echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
Apply this change of $PATH
.
[ chusiang@osx_el_capitan ~ ]
$ source ~/.bash_profile
DONE.
[ chusiang@osx_el_capitan ~ ]
$ openssl version
OpenSSL 1.0.2t 10 Sep 2019
Finally, the ssh / git / ansible were back !
Here's what worked for me
brew update && brew upgrade
brew uninstall --ignore-dependencies openssl
brew install openssl
I try to uninstall openssl and reinstall openssl, It worked.
brew remove openssl
brew install openssl
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
Reinstalling watchman with brew solved the issue for me :
brew remove watchman
brew install watchman
I hope it helps,