The website uses cookies. By using this site, you agree to our use of cookies as described in the Privacy Policy.
I Agree
blank_error__heading
blank_error__body
Text direction?

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

brew uninstall --ignore-dependencies node icu4c
brew install node

This comment has been minimized.

Copy link

trainoasis commented May 18, 2018
edited

Heya. This doesn't solve my issue by itself unfortunately :) While reinstalling node this pops up:

==> Pouring node-10.1.0.high_sierra.bottle.tar.gz Error: The "brew link" step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/node
Target /usr/local/bin/node
is a symlink belonging to node. You can unlink it:
brew unlink node

To force the link and overwrite all conflicting files:
brew link --overwrite node

Gotta run brew link --overwrite node to make it work.

This comment has been minimized.

this worked for me, thanks :)

This comment has been minimized.

Also worked for me! Thank you! :)

This comment has been minimized.

Copy link

williamnvk commented Jul 16, 2018
edited

Thank you, this worked for me.

This comment has been minimized.

Thank you, also works for me!

This comment has been minimized.

Thanks, this worked. In my case, I use a versioned node, node@8, so I had to just run

brew uninstall --ignore-dependencies node@8 icu4c
brew install node@8

This comment has been minimized.

node@8 solution worked 4 me, thx

This comment has been minimized.

it worked for me, thank you.

This comment has been minimized.

Worked for me too: thank you!

This comment has been minimized.

thanks

This comment has been minimized.

I reinstall php with brew reinstall php@7.1 to solve this problem.

This comment has been minimized.

Thanks! brew link --overwrite node solved!

This comment has been minimized.

Thanks, solved my issue!

This comment has been minimized.

I had multiple versions of icu4c, so I had to run brew uninstall --force icu4c before reinstalling node. Then it worked perfectly for me.

This comment has been minimized.

It works for me, thanks.

This comment has been minimized.

This comment has been minimized.

node@8 worked for me too, thanks.

This comment has been minimized.

It works for me, thanks.

This comment has been minimized.

Copy link

Nice one

This comment has been minimized.

Confirming that still works. Thanks.

This comment has been minimized.

Copy link

This was such a weird error. Thank you internet.

This comment has been minimized.

Thanks a lot for this!

This comment has been minimized.

thanks for this!

This comment has been minimized.

brew reinstall php@7.1

thanks for mentioning that ! i had laravel valet with php@7.1 and did brew reinstall php which didn't solve the issue...

This comment has been minimized.

+1 👍

This comment has been minimized.

Copy link

I had an old manually linked version of php 5.6 under /usr/local/bin/php, so php broke when I upgraded to 7.2. Deleting the old symlink allowed the newer PHP version to kick in.

This comment has been minimized.

Thanks!

This comment has been minimized.

Thank you. This confirmed works.

This comment has been minimized.

brew reinstall php@7.1
or
brew reinstall php@7.2

I think the problem is with php.

This comment has been minimized.

I concur that my issue was with php, with both php and composer commands failing with this issue. Anyone have any idea what could've changed? I don't recall really doing anything to break it recently; it appears to have done it of its own accord.

Either way, brew reinstall php@7.2 worked for me

This comment has been minimized.

brew reinstall php@7.2 worked for me as well!

This comment has been minimized.

brew reinstall php@7.2 worked for me as well!

This comment has been minimized.

I got this problem when I installed php 7.3
The solution solved my issue.

This comment has been minimized.

Worked for me too!

This comment has been minimized.

Thanks, worked for me

This comment has been minimized.

Worked for me too. Much thanks <3

This comment has been minimized.

good tip, thanks for the contribution ! 👌

This comment has been minimized.

Thanks!

This comment has been minimized.

Copy link

abelorian commented Jan 18, 2019
edited

also works ->

brew upgrade node
Upgrading 1 outdated package:
node 10.9.0 -> 11.6.0

This comment has been minimized.

Work for me too. Thanks!

This comment has been minimized.

I had this same error with Postgresql. brew install postgresql fixed it.
Be cautious if you have important data in Postgres though... Most major DB versions can't read data files from last version.
(I had other issues after this too... but they were psql related and easier to debug)

This comment has been minimized.

@abelorian thanks. That did the trick!

This comment has been minimized.

Copy link

zolomatok commented Jan 28, 2019
edited

This worked, thank you! (though, I tried it without "icu4c" at the end)

This comment has been minimized.

Fixed my problem, thx !

This comment has been minimized.

Does anybody actually know WHY this could happen ? Because only re-installing or re-linking will not solve the root cause, if a root cause exists.

This comment has been minimized.

I think this could happen by installing php after node, don't know why or how, but it's the only thing that changed on my computer since this appear.

This comment has been minimized.

Thanks, worked for me ;=)

This comment has been minimized.

Copy link

Thanks :)

This comment has been minimized.

Doesn't work for me, neither for node, yarn or php

$ brew uninstall node icu4c node@8 php@7.2 yarn --ignore-dependencies --force
$ brew install node
==> Installing dependencies for node: icu4c
==> Installing node dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-62.1.mojave.bottle.tar.gz
Already downloaded: /Users/bpolaszek/Library/Caches/Homebrew/downloads/2ac513734226effaf79e199fb1612ebce7842df443578bcd61afd73767858aef--icu4c-62.1.mojave.bottle.tar.gz
==> Pouring icu4c-62.1.mojave.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> Summary
  /usr/local/Cellar/icu4c/62.1: 250 files, 67.3MB
==> Installing node
==> Downloading https://homebrew.bintray.com/bottles/node-11.9.0.mojave.bottle.tar.gz
Already downloaded: /Users/bpolaszek/Library/Caches/Homebrew/downloads/2e30c8593bd3e956d06849da8ac7cee30325be1e04a02e4f4c7d4946fa67a696--node-11.9.0.mojave.bottle.tar.gz
==> Pouring node-11.9.0.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
  /usr/local/Cellar/node/11.9.0: 4,064 files, 48.6MB
==> Caveats
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> node
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d



$ node -v
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found
Abort trap: 6

* BANG *

This comment has been minimized.

Copy link

Thanks !!

This comment has been minimized.

Copy link

looks like everyone has been having a slightly different issue.

What worked for me, which is a variation (simpler?) from what @bpolaszek posted:

brew uninstall node icu4c node --ignore-dependencies --force
brew install node

This comment has been minimized.

brew reinstall node should fix the issue

This comment has been minimized.

For those who got this issue after brew upgrade node its just a linking issue for the new binary use
brew link --overwrite node did the trick for me

This comment has been minimized.

brew reinstall php@7.1 worked for me ,thanks

This comment has been minimized.

Awesome, thanks!

This comment has been minimized.

brew reinstall php@7.2 worked for me as well!!! ty !

This comment has been minimized.

As someone running into this issue trying to build an ionic ios app, this worked for me, thank you!

Here is my particular error:

PhaseScriptExecution Copy\ www\ directory /Users/manbradcalf/Library/Developer/Xcode/DerivedData/UZURV360-cwelbgxprvohdbfwtoayfmbmpggb/Build/Intermediates.noindex/UZURV360.build/Debug-iphonesimulator/UZURV360.build/Script-304B58A110DAC018002A0835.sh (in target: UZURV360)
    cd /Users/manbradcalf/Repos/UZURV360/platforms/ios
    /bin/sh -c /Users/manbradcalf/Library/Developer/Xcode/DerivedData/UZURV360-cwelbgxprvohdbfwtoayfmbmpggb/Build/Intermediates.noindex/UZURV360.build/Debug-iphonesimulator/UZURV360.build/Script-304B58A110DAC018002A0835.sh

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found

I did have the icu4c library but the xcode build script was looking for the wrong version.

This comment has been minimized.

A much simpler solution will probably work for 2019 users

As mentioned in this SO answer, you very likely only need to switch your icu4c from version 63 to version 62:

brew switch icu4c 62.1

A bit less extreme method.

This comment has been minimized.

works great! thanks!

This comment has been minimized.

Thanks @trainoasis, brew link --overwrite node worked for me.

This comment has been minimized.

Thanks. That worked for me.

This comment has been minimized.

Worked for me too. thanks :)

This comment has been minimized.

👍

This comment has been minimized.

Thanks @trainoasis, brew link --overwrite node worked for me as well 🚀

This comment has been minimized.

Copy link

brew reinstall php@7.2 worked for me as well. Thx!

This comment has been minimized.

👍, thanks

This comment has been minimized.

@forresthopkinsa Thanks this worked for me!

This comment has been minimized.

Heya. This doesn't solve my issue by itself unfortunately :) While reinstalling node this pops up:

==> Pouring node-10.1.0.high_sierra.bottle.tar.gz Error: The "brew link" step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/node
Target /usr/local/bin/node
is a symlink belonging to node. You can unlink it:
brew unlink node

To force the link and overwrite all conflicting files:
brew link --overwrite node

Gotta run brew link --overwrite node to make it work.

THANKS a LOT!!! Works perfectly!!

This comment has been minimized.

This comment has been minimized.

Worked for me too. Tks

This comment has been minimized.

Thank you. :)

This comment has been minimized.

A much simpler solution will probably work for 2019 users

As mentioned in this SO answer, you very likely only need to switch your icu4c from version 63 to version 62:

brew switch icu4c 62.1

A bit less extreme method.

Much better and simpler solution. Especially for people that installed Node through NVM and do not want it installed through brew at all.

This comment has been minimized.

This comment has been minimized.

Has anyone fixed this without brew link --overwrite node? This seems like a bad idea for anyone who is managing their node version with nvm, like myself.

@forresthopkinsa brew switch icu4c 62.1 gave me an error that 62.1 is not installed. I attempted brew install icu4c@62.1 but this didn't work and it seems that installing a specific version in brew may be non-trivial.

This comment has been minimized.

@rm-rf-etc Try the following:

brew unlink icu4c
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/575eb4bbef683551e19f329f60456b13a558132f/Formula/icu4c.rb

You're right it's non-trivial, I had to do a lot of digging to get those commands. Let me know if they work for you.

This comment has been minimized.

Copy link

@berkedel you're my hero for today. Thank you :)

This comment has been minimized.

Thank you

This comment has been minimized.

Thank you. It worked.

This comment has been minimized.

Copy link

Thank you, this woked for me .

This comment has been minimized.

Thanks - this saved me a lot of time!

This comment has been minimized.

This comment has been minimized.

"brew upgrade node" works, thanks

This comment has been minimized.

Copy link

I tried everything here and this is the only approach that worked for me:
https://stackoverflow.com/a/55828190

The original stackoverflow question there matched my situation exactly. If you're having a slightly different version of icu4c requested by your errors (not 63), then you should modify the instructions to match your situation. So, for example, if you're seeing errors trying to find version 62, then in the git log step you need to find the commit hash corresponding to version 62 and use that in place of the commit hash in the next step in the answer.

This comment has been minimized.

Copy link

humphriest commented Jan 30, 2020
edited

After trying all of the above with no luck, this worked for me:
brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/e7f0f10dc63b1dc1061d475f1a61d01b70ef2cb7/Formula/icu4c.rb
Hope it helps

This comment has been minimized.

Gracias me funcionó

This comment has been minimized.

Copy link

I was able to find a way to have icu4c version 60.2 on macOS Catalina, version 10.15.3.

To get the version 60.2 of icu4c, run these commands:

brew install node
brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/fb928fcb69debc71e9fbaf2ada5919f180f9667c/Formula/icu4c.rb
brew switch icu4c 60.2

This brings in node version 13.8.0 and icu4c version 64.2 on Catalina. icu4c 60.2 is no longer available from just running brew install icu4c@60.2 so it has to be reinstalled from the specific commit that had the information available to install it.

This commit is where version 60.2 was added to homebrew-core:

Homebrew/homebrew-core@86ff03f

But they didn't do the checksums until this commit, which is used above:

Homebrew/homebrew-core@fb928fc

Any commit up until they pulled that install code can be used for version 60.2. The other option is to bring in an older version of node (8, I think) from around the High Sierra days, which depends on icu4c 60.2. Node@10 is the oldest available in Catalina, but that still depends on icu4c 64.3, so digging through commits is needed for older versions of Node.

Node 13 itself won't run until you switch its dependency back to the current version of icu4c:

brew reinstall icu4c

@humphriest's comment above will bring in icu4c version 63.1 and @forresthopkinsa's comment will bring in version 62.1

As as additional suggestion to @em77's very astute reference: an easy way to find the commits for various versions of icu4c is to search homebrew-core's Github:

https://github.com/Homebrew/homebrew-core/search?q=icu4c+60.2&type=Commits

This comment has been minimized.

Thanks!! work form me too

This comment has been minimized.

Thanks! work for me

This comment has been minimized.

Thanks @em77! Your information helped me to solve this problem.

This comment has been minimized.

Thank you. Works for me.

This comment has been minimized.

Copy link

brew upgrade node

This comment has been minimized.

Thanks, it saves me a lot of time.

This comment has been minimized.

Thanks @dalmau brew upgrade node worked for me on Mac OS Catalina.

This comment has been minimized.

Thank you it work like a charm!

This comment has been minimized.

Copy link

brew switch icu4c 64.2

work for me!

This comment has been minimized.

This comment has been minimized.

brew reinstall php@7.1
or
brew reinstall php@7.2

I think the problem is with php.

works for me

This comment has been minimized.

just re install php
brew reinstall php

This comment has been minimized.

brew reinstall php@7.3 works for me

This comment has been minimized.

Copy link

I'm using node@12 - a brew reinstall node@12 fixed this for me.

This comment has been minimized.

Copy link

brew reinstall php@7.2 did the trick for me. Thanks, everyone!

This comment has been minimized.

Ultimately I switched to NVM as that manages Node and NPM far better and allows for installing down to minor and patch versions like 12.12.0 rather than Brew installing at a major version only.
Lots of the above suggestions didn't work. My issue was an installed version I was unaware of that prevented linking any new versions installed.
Find all node versions, take note of the versions listed but uninstall all of them, then install the version you need.

brew search node
brew uninstall --ignore-dependencies node@12 icu4c --force
brew install node@10
brew link node@10

This comment has been minimized.

brew reinstall php :)

This comment has been minimized.

brew reinstall php works for me 🎉

This comment has been minimized.

Worked for me, thanks

This comment has been minimized.

Copy link

Razoxane commented May 19, 2020
edited

For anyone still struggling with the error dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib after trying the above,

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb
brew switch icu4c 64.2

worked for me.

This comment has been minimized.

brew switch icu4c 64.2

+1 this works

This comment has been minimized.

+1 It Woked for me! Thank you!!!

This comment has been minimized.

Copy link

🔥🔥🔥

This comment has been minimized.

Suggested solution from Gist was working! Thanks!

This comment has been minimized.

@Razoxane, your solution fixed it for me in Valet Plus (if anyone ever comes here because of that)

This comment has been minimized.

also works ->

brew upgrade node
Upgrading 1 outdated package:
node 10.9.0 -> 11.6.0

Thanks!

This comment has been minimized.

Copy link

tom10271 commented May 28, 2020
edited

For anyone still struggling with the error dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib after trying the above,

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb
brew switch icu4c 64.2

worked for me.

Thank you and fuck you homebrew for fucking everything up every single year.

This comment has been minimized.

Works for me too, thanks :)

This comment has been minimized.

Copy link

@tom10271 Thank you !

This comment has been minimized.

For anyone still struggling with the error dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib after trying the above,

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb
brew switch icu4c 64.2

worked for me also

This comment has been minimized.

For anyone still struggling with the error dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib after trying the above,

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb
brew switch icu4c 64.2

worked for me.

Thanks!

This comment has been minimized.

In case you need to install 66.1

cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
git checkout -b icu4c 22fb699a417093cd1440857134c530f1e3794f7d
brew reinstall ./icu4c.rb

This comment has been minimized.

Copy link

I'm gonna be the 500th to say this but yes, this worked, thank you very much!

This comment has been minimized.

Copy link

After 1million year,
This post will remain helpful.

Worked for me too, Cheers :D

This comment has been minimized.

Does everyone here actually understand what this does:

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb

Call me paranoid but I'm a bit uncomfortable with running a script like this which I really don't understand.....

This comment has been minimized.

This:
(1) brew uninstall --ignore-dependencies node icu4c
(2) brew install node

worked perfectly.

This comment has been minimized.

This comment has been minimized.

Copy link

harveydobson commented Jun 24, 2020
edited

The first solution (uninstall + reinstall) worked for me, thanks so much!

So this upgraded my local node version from 12 to the latest version 14.

Was no big deal, just had to update node-sass too. I'm sure this may be the case with other modules depending on what you're doing.

Here was the message, pretty straight forward:

Error: Missing binding /Users/xxx/xxx/xxx/xxx/node_modules/node-sass/vendor/darwin-x64-83/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 14.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 12.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.

This comment has been minimized.

If you don't know what's breaking your library dependency and you're using brew try this which worked for me:

brew uses --installed icu4c | xargs brew reinstall

This comment has been minimized.

This error happened right after I installed Encore into my solution.
Running brew reinstall php@7.4 did the trick for me
Adapt this with your php version if you run into the same problem.

This comment has been minimized.

Copy link

RyotaBannai commented Jul 4, 2020
edited

old postgresql 12.2 tryna seek out /usr/local/opt/icu4c/lib/libicui18n.64.dylib however the mac os has libicui18n.67.dylib so upgrade it to 12.3_4 is a simple solution for me.

This comment has been minimized.

brew uninstall and re install worked perfectly

This comment has been minimized.

Original solution worked for me, thanks!

This comment has been minimized.

thanks 👯

This comment has been minimized.

worked thanks!

This comment has been minimized.

@Razoxane solution worked for me!

This comment has been minimized.

Does everyone here actually understand what this does:

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/896d1018c7a4906f2c3fa1386aaf283497db60a2/Formula/icu4c.rb

Call me paranoid but I'm a bit uncomfortable with running a script like this which I really don't understand.....

It's installing the version of icu4c as it specifically was in the version of the code in commit 896d1018c7a4906f2c3fa1386aaf283497db60a2
You can look at the repo here: https://github.com/Homebrew/homebrew-core/tree/896d1018c7a4906f2c3fa1386aaf283497db60a2

This comment has been minimized.

also works ->

brew upgrade node
Upgrading 1 outdated package:
node 10.9.0 -> 11.6.0

Thanks!!

This comment has been minimized.

Also works. for me. 👌🏻

This comment has been minimized.

brew reinstall php works for me as well. Thanks guys!

This comment has been minimized.

Copy link

Thank You Akhmad

This comment has been minimized.

Works for me, thanks!

This comment has been minimized.

Copy link

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicuio.64.dylib
  Referenced from: /usr/local/bin/php
  Reason: image not found

Running brew reinistall php resolved the quoted issue above for me.

Cheers!

🤓👍

This comment has been minimized.

brew reinstall php works for me too 👍

This comment has been minimized.

Copy link

baurine commented Sep 9, 2020
edited

In my mac, after installing an app by brew install xxx, brew installs a newer version 67.1 of icu4c automatically. Now there are 2 different versions icu4c in my mac.

> ls /usr/local/Cellar/icu4c
64.2 67.1

Then in the /usr/local/opt/icu4c/lib folder, the related libs of icu4c have been replaced by 67.1 version.

> ls -alh /usr/local/opt/icu4c/lib
total 134848
drwxr-xr-x  28 baurine  staff   896B Apr 23 04:04 .
drwxr-xr-x  12 baurine  staff   384B Sep  8 14:54 ..
drwxr-xr-x   6 baurine  staff   192B Apr 23 04:04 icu
-rw-r--r--   1 baurine  staff    27M Sep  8 14:54 libicudata.67.1.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicudata.67.dylib -> libicudata.67.1.dylib
-r--r--r--   1 baurine  staff    27M Apr 23 04:04 libicudata.a
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicudata.dylib -> libicudata.67.1.dylib
-r--r--r--   1 baurine  staff   2.5M Sep  8 14:54 libicui18n.67.1.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicui18n.67.dylib -> libicui18n.67.1.dylib
-r--r--r--   1 baurine  staff   4.5M Apr 23 04:04 libicui18n.a
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicui18n.dylib -> libicui18n.67.1.dylib
-r--r--r--   1 baurine  staff    59K Sep  8 14:54 libicuio.67.1.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicuio.67.dylib -> libicuio.67.1.dylib
-r--r--r--   1 baurine  staff    66K Apr 23 04:04 libicuio.a
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicuio.dylib -> libicuio.67.1.dylib
-r--r--r--   1 baurine  staff    70K Sep  8 14:54 libicutest.67.1.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicutest.67.dylib -> libicutest.67.1.dylib
-r--r--r--   1 baurine  staff    77K Apr 23 04:04 libicutest.a
lrwxr-xr-x   1 baurine  staff    21B Apr 23 04:04 libicutest.dylib -> libicutest.67.1.dylib
-r--r--r--   1 baurine  staff   171K Sep  8 14:54 libicutu.67.1.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicutu.67.dylib -> libicutu.67.1.dylib
-r--r--r--   1 baurine  staff   232K Apr 23 04:04 libicutu.a
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicutu.dylib -> libicutu.67.1.dylib
-rw-r--r--   1 baurine  staff   1.5M Sep  8 14:54 libicuuc.67.1.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicuuc.67.dylib -> libicuuc.67.1.dylib
-r--r--r--   1 baurine  staff   2.4M Apr 23 04:04 libicuuc.a
lrwxr-xr-x   1 baurine  staff    19B Apr 23 04:04 libicuuc.dylib -> libicuuc.67.1.dylib
drwxr-xr-x   5 baurine  staff   160B Sep  8 14:54 pkgconfig

So it is true there is no /usr/local/opt/icu4c/lib/libicui18n.64.dylib file any more.

For my mac, the simplest way to revert those files back to 64.2 version is the command brew switch icu4c 64.2 as somebody mentioned above.

> brew switch icu4c 64.2
Cleaning /usr/local/Cellar/icu4c/64.2
Cleaning /usr/local/Cellar/icu4c/67.1
Opt link created for /usr/local/Cellar/icu4c/64.2

See the files in the /user/local/opt/icu4c/lib, they are back.

> ls -alh /usr/local/opt/icu4c/lib
total 131128
drwxr-xr-x  28 baurine  staff   896B Apr 18  2019 .
drwxr-xr-x  12 baurine  staff   384B May  4  2019 ..
drwxr-xr-x   6 baurine  staff   192B Apr 18  2019 icu
-rw-r--r--   1 baurine  staff    26M May  4  2019 libicudata.64.2.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicudata.64.dylib -> libicudata.64.2.dylib
-r--r--r--   1 baurine  staff    26M Apr 18  2019 libicudata.a
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicudata.dylib -> libicudata.64.2.dylib
-r--r--r--   1 baurine  staff   2.5M May  4  2019 libicui18n.64.2.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicui18n.64.dylib -> libicui18n.64.2.dylib
-r--r--r--   1 baurine  staff   4.5M Apr 18  2019 libicui18n.a
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicui18n.dylib -> libicui18n.64.2.dylib
-r--r--r--   1 baurine  staff    60K May  4  2019 libicuio.64.2.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicuio.64.dylib -> libicuio.64.2.dylib
-r--r--r--   1 baurine  staff    67K Apr 18  2019 libicuio.a
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicuio.dylib -> libicuio.64.2.dylib
-rw-r--r--   1 baurine  staff    66K May  4  2019 libicutest.64.2.dylib
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicutest.64.dylib -> libicutest.64.2.dylib
-r--r--r--   1 baurine  staff    78K Apr 18  2019 libicutest.a
lrwxr-xr-x   1 baurine  staff    21B Apr 18  2019 libicutest.dylib -> libicutest.64.2.dylib
-r--r--r--   1 baurine  staff   170K May  4  2019 libicutu.64.2.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicutu.64.dylib -> libicutu.64.2.dylib
-r--r--r--   1 baurine  staff   230K Apr 18  2019 libicutu.a
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicutu.dylib -> libicutu.64.2.dylib
-rw-r--r--   1 baurine  staff   1.5M May  4  2019 libicuuc.64.2.dylib
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicuuc.64.dylib -> libicuuc.64.2.dylib
-r--r--r--   1 baurine  staff   2.4M Apr 18  2019 libicuuc.a
lrwxr-xr-x   1 baurine  staff    19B Apr 18  2019 libicuuc.dylib -> libicuuc.64.2.dylib
drwxr-xr-x   5 baurine  staff   160B May  4  2019 pkgconfig

So don't hesitate to reinstall, check the /usr/local/Cellar/icu4c folder first, if the older 64 version is still there, you just need brew switch back.

This comment has been minimized.

brew uninstall --force icu4c

thanks I had similar problems and reinstalling icu4c fixed my issues 👍

This comment has been minimized.

looks like everyone has been having a slightly different issue.

What worked for me, which is a variation (simpler?) from what @bpolaszek posted:

brew uninstall node icu4c node --ignore-dependencies --force
brew install node

It works for me, thanks~

This comment has been minimized.

Worked for me. THANK you!!

This comment has been minimized.

What worked for me is checking if either php or node are outdated with brew outdated,
brew upgrade php or brew upgrade node solve the problem

This comment has been minimized.

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Measure
Measure
Related Notes
Get a free MyMarkup account to save this article and view it later on any device.
Create account

End User License Agreement

Summary | 3 Annotations
brew install node
2020/06/11 15:12
node
2020/06/11 15:12
brew uninstall --ignore-dependencies node icu4c
2020/06/11 15:12