使用国产php71安装brew install php71包后
当我运行PHP时,我会得到这个错误:
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
[1] 55097 abort php -v运行brew info jpeg,我得到了以下输出:
jpeg: stable 9b (bottled)
Image manipulation library
http://www.ijg.org
/usr/local/Cellar/jpeg/9b (20 files, 724KB) *
Poured from bottle on 2017-08-07 at 16:11:22
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/jpeg.rb看起来我需要安装jpeg 8b版本,而不是9b版;我如何才能这样做呢?
发布于 2020-11-13 10:40:23
https://stackoverflow.com/questions/45549218
复制相似问题