Skip to content

Instantly share code, notes, and snippets.

@sibosend
Forked from hgrimelid/php-dyld.md
Created August 25, 2019 14:55
Show Gist options
  • Save sibosend/50a8a2de5c1c12217b6d649860a2ad55 to your computer and use it in GitHub Desktop.
Save sibosend/50a8a2de5c1c12217b6d649860a2ad55 to your computer and use it in GitHub Desktop.
php: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib

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]

@sibosend
Copy link
Author

Also worked php70 out

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/opt/[email protected]/bin/php
Reason: image not found
Abort trap: 6

Reinstall PHP7.0 to fix

brew reinstall [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment