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
@alexhobday
Copy link

Worked for me, thanks!

@sridharbelagod
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!!!

@davpco
Copy link

davpco commented Mar 22, 2023

brew uninstall --ignore-dependencies node icu4c && brew install node worked perfectly!

@Asterisk-z
Copy link

brew uninstall icu4c worked for me

@mugovemachaka
Copy link

This fixed the issue for me as well 🚀

@neri4488
Copy link

neri4488 commented Jul 8, 2023

I followed this stack overflow answer and it worked.
https://stackoverflow.com/a/74856087/2761923

@boydjc
Copy link

boydjc commented Jul 23, 2023

After searching for a solution for a few hours, this ended up working for me. Thank you 🥳

@liudukun
Copy link

liudukun commented Aug 3, 2023

brew uninstall icu4c

@liudukun
Copy link

liudukun commented Aug 3, 2023

brew uninstall icu4c

@saosangmo
Copy link

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

Thanks, it works for me!

@joseglego
Copy link

The brew reinstall icu4c works for me 👍

@baonq-me
Copy link

brew uninstall --ignore-dependencies node icu4c works for me

@jws1837
Copy link

jws1837 commented Oct 17, 2023

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

ok thank you

@gusmantap
Copy link

This is work on my macbook air m1. Fixed every version installed php

brew upgrade icu4c
brew upgrade

@yogithesymbian
Copy link

yogithesymbian commented Nov 6, 2023

i have same issue but ,,,
i have multiple node version on brew 12, 18, and 21.
on version 18 there is no error .
only error on version 12.

> brew list | grep node
// error when check version `node -v`
node // V21.1.0 // works
node@12 // error // this no longer on brew install node@12 be aware before re install / uninstall
node@14 // not test
node@18 // works 
# export PATH="/opt/homebrew/opt/node@12/bin:$PATH"
# export PATH="/opt/homebrew/opt/node@14/bin:$PATH"
# export PATH="/opt/homebrew/opt/node/bin:$PATH"
 export PATH="/opt/homebrew/opt/node@18/bin:$PATH"

@Frankzmwang
Copy link

Thank you very much!!!

@Frankzmwang
Copy link

Uploading Snipaste_2024-03-13_10-21-30.png…

@thescubageek
Copy link

Worked, thanks for unblocking me!

@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