Dyld: Library Not Loaded: /Usr/Local/Lib/Libpng16.16.Dylib with Anything PHP Related

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

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.

Library not loaded libpng16.16.dylib Because of incompatible version

I managed to fix this by deleting the libpng folder in /usr/local/Cellar and installing it with brew install libpng all over again.

Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib

I resolved the issue with brew install libpng as suggested here.

php dyld: Library not loaded for libldap

According to this issue, you need to install openldap and libiconv.

brew install openldap libiconv

I tried it and it worked for my system. I was originally missing the PHP intl extension.

libpng16.16.dylib load error when executing PHP CLI with exec from PHP file

The stat() failed with errno=13 indicates that there is a permissions error. The .dylib file should have read permissions, and the directories it is contained within should have the executable (x) bit set as well. (I think the read [r] bit should be set, too, but I'm not 100% sure.)



Related Topics



Leave a reply



Submit