Skip to content

Instantly share code, notes, and snippets.

@berkedel
Created April 4, 2018 14:13
Show Gist options
  • Save berkedel/d1fc6d13651c16002f64653096d1fded to your computer and use it in GitHub Desktop.
Save berkedel/d1fc6d13651c16002f64653096d1fded to your computer and use it in GitHub Desktop.
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

How to solve dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

brew uninstall --ignore-dependencies node icu4c
brew install node
@aslamcodes
Copy link

brew uninstall --ignore-dependencies node icu4c && brew install node
Worked!!

@seanr
Copy link

seanr commented Mar 28, 2024

Updating the php version worked for me (from 7.4 to 8.1)

brew uninstall php@7.4 rm -rf /usr/local/etc/php brew reinstall php

You're a lifesaver!!! Thank you! BTW, I had multiple versions (brew list | grep php), so I removed all but php (with no version) and then just did the reinstall and now it's perfect.

@vitornascimentto
Copy link

For me given below solution worked on Mac

rm -rf /usr/local/Cellar/icu4c brew reinstall icu4c

Then

gem uninstall charlock_holmes gem install charlock_holmes

This worked for me!! Thanks

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