djug / laraveltesting101

Laravel Testing 101 demo application
https://laraveltesting101.com/
6 stars 1 forks source link

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib #1

Open jongravois opened 5 years ago

jongravois commented 5 years ago

I ran the following

git clone git@github.com:djug/laraveltesting101.git cd laraveltesting101 composer install

and got


  Referenced from: /usr/local/bin/php
  Reason: image not found
[1]    67496 abort      composer install```
djug commented 5 years ago

@jongravois take a look at this

https://stackoverflow.com/questions/45549218/brew-required-error-with-php

does it solve this issue?

jongravois commented 5 years ago

It did not.

I ran brew uninstall php71 brew install --build-from-source php72 brew services start php@7.2 php -v

SAME ERROR so I continued through the link and the linked article

npm i -g npm brew uninstall php72 brew install --build-from-source php71 php -v

Same Error brew uninstall --ignore-dependencies node icu4c brew install node brew link --overwrite node php -v

Same Error so I installed Node via the packager on Node website

git clone git@github.com:djug/laraveltesting101.git cd laraveltesting101/ composer install

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
  Referenced from: /usr/local/bin/php
  Reason: image not found
[1]    40250 abort      composer install