Closed ChrisRudall closed 6 years ago
A workaround for now is to force downgrade libzip to 1.3.0:
brew uninstall --ignore-dependencies libzip
cd $(brew --repository)/Library/Taps/homebrew/homebrew-core
git checkout b6d3796 -- Formula/libzip.rb
HOMEBREW_NO_AUTO_UPDATE=1 brew install libzip
I don't recommend that workaround: it's likely to break stuff, including future HHVM updates (like 3.24..2 later today).
Description
After installing HHVM via Homebrew, HHVM will not run due a versioning error with Libzip
Context and Logs
When attempting to run HHVM I get this error:
▶ hhvm dyld: Library not loaded: /usr/local/opt/libzip/lib/libzip.5.dylib Referenced from: /usr/local/bin/hhvm Reason: Incompatible library version: hhvm requires version 6.0.0 or later, but libzip.5.dylib provides version 5.0.0 [1] 446 abort hhvm
Admittedly I'm not sure whether this is a problem with HHVM, Libzip (which was also recently updated) or my machine. I'd appreciate it if someone could point me in the right direction?