dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib code example
Example 1: dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
brew switch openssl 1.0.2t
Example 2: dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
brew update && brew upgrade
brew uninstall --ignore-dependencies openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Example 3: Library not loaded: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib
brew update && brew upgrade
brew uninstall openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Example 4: OSX Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Switch to an older openssl package
brew switch openssl 1.0.2s
Or, depending on your exact system configuration,
you may need to switch to a different version.
Check the output of ls -al /usr/local/Cellar/openssl for the version number to switch to.
brew switch openssl 1.0.2q
# or
brew switch openssl 1.0.2r
# or
brew switch openssl 1.0.2s
# or
brew switch openssl 1.0.2t
# etc...
Example 5: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
brew install rbenv/tap/openssl@1.0
ln -sfn /usr/local/Cellar/openssl@1.0/1.0.2t /usr/local/opt/openssl
Example 6: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib ruby
brew install rbenv/tap/openssl@1.0
ln -sfn /usr/local/Cellar/openssl@1.0/1.0.2t /usr/local/opt/openssl