Skip to content

Instantly share code, notes, and snippets.

@Zackio
Forked from hgrimelid/php-dyld.md
Created April 4, 2019 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zackio/b90667f5143cd8df87fd417df2352907 to your computer and use it in GitHub Desktop.
Save Zackio/b90667f5143cd8df87fd417df2352907 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