macOS 出现 Library not loaded: /us

2020-05-17  本文已影响0人  Alephme

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

上一篇下一篇

猜你喜欢

热点阅读