Library not loaded error after brew install php56
问题 I'm upgrading from php5.5 to php5.6 on OSX Mavericks using homebrew. I run brew install php56 Everything runs and completes fine but when I run php -v the following error comes up dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.53.dylib Referenced from: /usr/local/bin/php Reason: image not found Trace/BPT trap: 5 How do I fix this? 回答1: Try this brew uninstall --ignore-dependencies node icu4c brew install node 回答2: For me simply upgrading php helped. brew upgrade php The