美文网首页
macOS 出现 Library not loaded: /us

macOS 出现 Library not loaded: /us

作者: Alephme | 来源:发表于2020-05-17 01:27 被阅读0次

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: /us

      本文链接:https://www.haomeiwen.com/subject/rctjohtx.html