After upgrading to Node v.10.9.0 via Homebrew the following error message was thrown from PHP:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Reinstall PHP to fix, for me that's:
brew reinstall [email protected]
I had the same issue here, running
brew reinstall icu4cError: Calling Installation of icu4c from a GitHub commit URL is disabled! Use 'brew extract icu4c' to stable tap on GitHub instead.The solution for me was to run it while being in php 7.2, then switch back to 7.1:
brew install [email protected]brew unlink [email protected]brew link [email protected] --forcebrew reinstall icu4cbrew unlink [email protected]brew link [email protected] --force