-
Update: after trying to downgrade from 8.2 to 7.4,
php -vthrew the following error:dyld[4170]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicuio.71.dylib Referenced from: <2BF650D2-C7DA-38F0-8D4A-404B5A17BCAF> /opt/homebrew/Cellar/php@7.4/7.4.33/bin/php Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicuio.71.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/icu4c/lib/libicuio.71.dylib' (no such file), '/opt/homebrew/opt/icu4c/lib/libicuio.71.dylib' (no such file), '/usr/local/lib/libicuio.71.dylib' (no such file), '/usr/lib/libicuio.71.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/icu4c/73.2/lib/libicuio.71.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/icu4c/73.2/lib/libicuio.71.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/73.2/lib/libicuio.71.dylib' (no such file), '/usr/local/lib/libicuio.71.dylib' (no such file), '/usr/lib/libicuio.71.dylib' (no such file, not in dyld cache) zsh: abort php -vTo solve, had to install icu4c package @ 71.1, remove 73, and symlink the default location to 71.1:
Install package @ version:
brew tap-new $USER/local-icu4c brew tap homebrew/core brew extract --version=71.1 icu4c $USER/local-icu4c brew install icu4c@71.1As per it's instructions, the following done too - don't think this helped, should probably still look at undoing this;
export LDFLAGS="-L/opt/homebrew/opt/icu4c@71.1/lib" export CPPFLAGS="-I/opt/homebrew/opt/icu4c@71.1/include"Uninstall the regular one and symlink;
brew uninstall --ignore-dependencies icu4c # regular uninstall was failing as it's a required dependency cd /opt/homebrew/opt ln -s icu4c@71.1 icu4cEdited by Ludo Briët
Please register or sign in to comment