mac osx 10.10 mcrypt安装出现错误
瑟龙 2014-10-22 05:31:40 我将mac系统更新到了10.10后,重新安装mcrypt,安装过程中出现
configure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"
错误,网上找的两个解决方案:
1、
打开/etc/ld.so.conf,在文件之后,添加一行:
[html] view plaincopy
/usr/local/lib
然后,执行 ldconfig ,重新编译即可。
2、
编辑 mac下的LD_LIBRARY_PATH是DYLD_LIBRARY_PATH
都不管用,求解答,谢谢