Skip to content

Instantly share code, notes, and snippets.

@javymarmol
Forked from hgrimelid/php-dyld.md
Created July 10, 2019 03:57
Show Gist options
  • Save javymarmol/a6a820896a2e12f82f93ba1ae9a85d8b to your computer and use it in GitHub Desktop.
Save javymarmol/a6a820896a2e12f82f93ba1ae9a85d8b 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