You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so' - dlopen(/Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so, 9): Library not loaded: /usr/local/lib/libmemcached.10.dylib
Referenced from: /Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so
Reason: image not found in Unknown on line 0
Homebrew now installs version 11 of libmemcached, not 10 as expected. After an hour of trying to get Memcached working with MAMP, frustratingly I just renamed /usr/local/lib/libmemcached.11.dylib to libmemcached.10.dylib instead of installing the older version (to see if that was indeed the error). Expecting the age-old XKCD comic raptor to come along and wipe me out, it actually worked.
The text was updated successfully, but these errors were encountered:
If you are having these Apache errors:
Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so' - dlopen(/Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so, 9): Library not loaded: /usr/local/lib/libmemcached.10.dylib
Referenced from: /Applications/MAMP/bin/php/php5.3.14/lib/php/extensions/no-debug-non-zts-20090626/memcached.so
Reason: image not found in Unknown on line 0
The reason is twofold:
chris@floyd $ echo $DYLD_LIBRARY_PATH
chris@floyd $ export DYLD_LIBRARY_PATH=/usr/local/lib/
chris@floyd $ echo $DYLD_LIBRARY_PATH
/usr/local/lib/
The text was updated successfully, but these errors were encountered: