dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac
Update - As stated in some of the comments, running
brew cleanup
could possibly fix this error, if that alone doesn't fix it, you might try upgrading individual packages or all your brew packages.
I just had this same problem. Upgrading Homebrew and then cleaning up worked for me. This error likely showed up for me because of a mismatch in package versions. None of the above solutions resolved my error, but running the following homebrew commands did.
Caution - This will upgrade all your brew packages, including, but not limited to PHP. If you only want to upgrade specific packages make sure to be specific.
brew upgrade icu4c
brew upgrade // or upgrade all packages
and finally
brew cleanup
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib
I just needed to do brew reinstall icu4c
, see https://gist.github.com/berkedel/d1fc6d13651c16002f64653096d1fded
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac
Update - As stated in some of the comments, running
brew cleanup
could possibly fix this error, if that alone doesn't fix it, you might try upgrading individual packages or all your brew packages.
I just had this same problem. Upgrading Homebrew and then cleaning up worked for me. This error likely showed up for me because of a mismatch in package versions. None of the above solutions resolved my error, but running the following homebrew commands did.
Caution - This will upgrade all your brew packages, including, but not limited to PHP. If you only want to upgrade specific packages make sure to be specific.
brew upgrade icu4c
brew upgrade // or upgrade all packages
and finally
brew cleanup
Related Topics
In PHP, Is There a Short Way to Compare a Variable to Multiple Values
Calculate the Time When the Sun Is X Degrees Below/Above the Horizon
Phpmyadmin - Count(): Parameter Must Be an Array or an Object That Implements Countable
Get Latitude and Longitude Automatically Using PHP, API
How to Set Lifetime of Session
Best Way to Create an Empty Object in JSON with PHP
Service Applications and Google Analytics API V3: Server-To-Server Oauth2 Authentication
How to Get Current Time in Milliseconds in PHP
How to Create a Random String Using PHP
Uploading File in PHP Server from Android Device
How to Configure Wamp (Localhost) to Send Email Using Gmail
PHP Array_Filter with Arguments
PHP Artisan Make:Auth Command Is Not Defined
How to Check and Set Max_Allowed_Packet MySQL Variable