HHVM 3.23.2 expects old icu4c version on macOS Sierra 10.12.6
ganimp84 opened this issue · 5 comments
Description
Installed HHVM 3.23.2. But, when trying to execute any hhvm command, it returns the following error
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicudata.59.1.dylib
Referenced from: /usr/local/bin/hhvm
Reason: image not found
fish: 'hhvm' terminated by signal SIGABRT (Abort)
When I checked the installed icu4c version is 60.1 (which is the latest version)
brew list icu4c
/usr/local/Cellar/icu4c/60.1/bin/derb
/usr/local/Cellar/icu4c/60.1/bin/genbrk
/usr/local/Cellar/icu4c/60.1/bin/gencfu
/usr/local/Cellar/icu4c/60.1/bin/gencnval
/usr/local/Cellar/icu4c/60.1/bin/gendict
/usr/local/Cellar/icu4c/60.1/bin/genrb
/usr/local/Cellar/icu4c/60.1/bin/icu-config
/usr/local/Cellar/icu4c/60.1/bin/icuinfo
/usr/local/Cellar/icu4c/60.1/bin/makeconv
/usr/local/Cellar/icu4c/60.1/bin/pkgdata
/usr/local/Cellar/icu4c/60.1/bin/uconv
/usr/local/Cellar/icu4c/60.1/include/unicode/ (178 files)
/usr/local/Cellar/icu4c/60.1/lib/libicudata.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/libicui18n.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/libicuio.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/libicutest.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/libicutu.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/libicuuc.60.1.dylib
/usr/local/Cellar/icu4c/60.1/lib/icu/ (4 files)
/usr/local/Cellar/icu4c/60.1/lib/pkgconfig/ (3 files)
/usr/local/Cellar/icu4c/60.1/lib/ (18 other files)
/usr/local/Cellar/icu4c/60.1/sbin/escapesrc
/usr/local/Cellar/icu4c/60.1/sbin/genccode
/usr/local/Cellar/icu4c/60.1/sbin/gencmn
/usr/local/Cellar/icu4c/60.1/sbin/gennorm2
/usr/local/Cellar/icu4c/60.1/sbin/gensprep
/usr/local/Cellar/icu4c/60.1/sbin/icupkg
/usr/local/Cellar/icu4c/60.1/share/icu/ (4 files)
/usr/local/Cellar/icu4c/60.1/share/man/ (14 files)
I tried to install icu4c version 59.1 but couldn't find it through brew search
brew search icu4c
==> Searching local taps...
icu4c ✔
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...
Context and Logs
Parameter | Value |
---|---|
OS X Version: | 10.12.6 (macOS Sierra) |
Homebrew Version: | 1.3.9 |
Xcode Version: | |
xcodebuild -version | |
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance |
Output of clang -v:
clang -v
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Build logs: Link to public gist created with brew gist-logs hhvm
https://gist.github.com/510398ab001e61c226daaf220f34d098
This changed 3 days ago (https://github.com/Homebrew/homebrew-core/commits/master/Formula/icu4c.rb ) - will rebuild next week.
for now, use --build-from-source
Actually, trying to start the high sierra build now. Sierra will definitely be next week.
Also investigating if we can statically link against icu4c instead - they bump the major version every release, so, this keeps happening.
brew reinstall hhvm
will fix this on high sierra now.
cc @strobox
As well as the libicu update, there's also been a breaking libglog update ; you might need brew update; brew upgrade
before this will work.