dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib with anything php related

后端 未结 11 1022
攒了一身酷
攒了一身酷 2020-11-28 05:01

Using any php application results in:

dyld: Library not loaded: /usr/local/lib/libpng15.15.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
         


        
11条回答
  •  甜味超标
    2020-11-28 05:37

    I suggest you run:

    $ brew update && brew upgrade
    

    Until couple of minutes ago I had this problem, too. Because I have an up to date PHP version, I solved it with:

    $ brew reinstall php55
    

    Hope that helps.

提交回复
热议问题