macOS 出现 Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/vapor
Reason: image not found
zsh: abort vapor new Hello

切换openssl
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

解决方法:
查看系统中openssl的版本
$ls -al /usr/local/Cellar/openssl*

再切换版本
$brew switch openssl 1.0.2t

你可能感兴趣的:(macOS 出现 Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib)