Skip to content

Instantly share code, notes, and snippets.

@topdown
Forked from hgrimelid/php-dyld.md
Created March 7, 2019 15:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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 php@7.1

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