Skip to content

Instantly share code, notes, and snippets.

@topdown
Forked from hgrimelid/php-dyld.md
Created March 7, 2019 15:04
Show Gist options
  • Save topdown/12707484bb58e8eceb96808ec0a509f3 to your computer and use it in GitHub Desktop.
Save topdown/12707484bb58e8eceb96808ec0a509f3 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]

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