Libraries not loaded for php@5.6
rikiless opened this issue · 3 comments
rikiless commented
Using php@5.6 with brew not working more. I got multiple errors like this:
dyld[12266]: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.68.dylib
Referenced from: /usr/local/Cellar/php@5.6/5.6.40.reinstall/bin/php
Seems I have updated versions of following libraries to version 69 and php@5.6 requires v 68.
/usr/local/opt/icu4c/lib/libicuio.68.dylib
/usr/local/opt/icu4c/lib/libicudata.68.dylib
/usr/local/opt/icu4c/lib/libicuuc.68.dylib
/usr/local/opt/icu4c/lib/libicui18n.68.dylib
How to fix this?
rikiless commented
The problems started after error dyld: Library not loaded: /usr/local/opt/tidy-html5/lib/libtidy.5.dylib
which I "resolved" with symlinking the existing updated path.
shivammathur commented
All formulae in the tap were updated to use icu4c 69.1 in Oct last year.
Run brew update
and reinstall php@5.6
along with its dependencies. That should fix it.
brew update
brew reinstall $(brew deps shivammathur/php/php@5.6) shivammathur/php/php@5.6