dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

在mac10.8.5上用brew安装nginx,然后将mac升级到了10.9.4,sudo nginx 就会报出如下错误

问题一:

dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib

解决:

$ brew reinstall pcre && brew unlink pcre && brew link pcre

问题二:

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

解决:

$ brew remove openssl  

and then

$ brew install openssl

问题三:

dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib

解决:

$ brew remove gnu-getopt ; brew install --build-from-source gnu-getopt

问题四:

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.53.dylib

解决:

$ brew remove php54
$ brew install php54 --with-your-args
$ brew install php54-intl

广告


参考https://github.com/Homebrew/homebrew/issues/27106
http://stackoverflow.com/questions/19168842/library-not-loaded-opt-local-lib-libssl-1-0-0-dylib-loaderror

JackSun

JackSun

I'm a coder.

You may also like...