php-osx not loading mcrypt.so on Yosemite -
tried run php --version
got
/usr/local/php5-5.6.1-20141004-104642/bin/php --version
php warning: php startup: unable load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so'
- dlopen(/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so, 9):
library not loaded: /usr/local/lib/libltdl.7.dylib
referenced from: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so
reason: image not found in unknown on line 0
according site https://coderwall.com/p/8pajlg need install libtool via homebrew:
brew install libtool --universal brew link libtool
php osx libtomcrypt
No comments:
Post a Comment