You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running PHP 5.6 (yes, I know it's way deprecated, but it's the version I must use for my day job)
brew install brew-php-switcher
This appears to have run brew update.. or at least updated my PHP 7.x install...
I believe this in turn updated a "icu4c" dependency
When running PHP 5.6 I now get:
php -v
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
php -v
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
PHP 5.6 requires icu4c 62.1 and PHP 7.3 requires icu4c 64.2
there seems to be no easy way to switch between the two..
supposedly brew switch icu4c 64.2 should work, but I get a "not in cellar" error
The only fix seems to be to reinstall icu4c
62.1: brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/575eb4bbef683551e19f329f60456b13a558132f/Formula/icu4c.rb
64.2: brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/icu4c.rb
(I'm not sure how to find the direct link for 64.2.. It's likely that link will point to a newer ver in the future)
Anyone know how to get brew-php-switcher to also switch/update this dependency?
The text was updated successfully, but these errors were encountered:
I bumped into same problem.
In case anyone needs to manual switch icu4c to 64.2 version: brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/a806a621ed3722fb580a58000fb274a2f2d86a6d/Formula/icu4c.rb
I bumped into same problem.
In case anyone needs to manual switch icu4c to 64.2 version: brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/a806a621ed3722fb580a58000fb274a2f2d86a6d/Formula/icu4c.rb
I've been running PHP 5.6 (yes, I know it's way deprecated, but it's the version I must use for my day job)
brew install brew-php-switcher
This appears to have run
brew update
.. or at least updated my PHP 7.x install...I believe this in turn updated a "icu4c" dependency
When running PHP 5.6 I now get:
here's the fix:
https://stackoverflow.com/a/56242725/1371433
However
if I now
brew-php-switcher 7.3
PHP 5.6 requires icu4c 62.1 and PHP 7.3 requires icu4c 64.2
there seems to be no easy way to switch between the two..
supposedly
brew switch icu4c 64.2
should work, but I get a "not in cellar" errorThe only fix seems to be to reinstall icu4c
62.1:
brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/575eb4bbef683551e19f329f60456b13a558132f/Formula/icu4c.rb
64.2:
brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/icu4c.rb
(I'm not sure how to find the direct link for 64.2.. It's likely that link will point to a newer ver in the future)
Anyone know how to get brew-php-switcher to also switch/update this dependency?
The text was updated successfully, but these errors were encountered: