dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib - homebrew php

后端 未结 15 2067
你的背包
你的背包 2020-12-07 09:34

PHP was not working for me as I was encountering this libpng issue, so I reinstalled a new version with Homebrew.

However, I\'m getting a similar error with

相关标签:
15条回答
  • 2020-12-07 10:20

    Homebrew php has been updated and no longer an issue with libjpeg

    0 讨论(0)
  • 2020-12-07 10:21

    I didn't try Jirson's answer, but what worked for me was:

    brew uninstall libjpeg
    brew install libjpeg
    
    0 讨论(0)
  • 2020-12-07 10:21

    In some cases, especially in Catalina, the Homebrew cask for the package may exist but not be properly linked. In that case try:

    brew link libjpeg
    brew reinstall php --build-from-source
    
    0 讨论(0)
提交回复
热议问题