Closed bkdotcom closed 2 years ago
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
Thank you :-) you saved my day.
You can see https://github.com/eXolnet/homebrew-deprecated/issues/23 to solve a problem
Thanks guys seems like a Homebrew / MacOs upgrade issue therefore nothing for this project to fix.
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 runbrew update
.. or at least updated my PHP 7.x install... I believe this in turn updated a "icu4c" dependencyWhen 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?