Rootop 服务器运维与web架构

编译mcrypt时报错You need at least libmhash 0.8.15 to compile this program

| 暂无评论

checking whether mhash >= 0.8.15… noconfigure: error: “You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/”

mhash编译上了,但是还是报错,应该是找不到库文件的原因。
编辑/etc/ld.so.conf,在文件最后,添加一行:

/usr/local/lib            //编译的时候去/usr/local/lib找库文件。

保存退出,执行 ldconfig ,重新编译即可。

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1947.html

作者:Venus

服务器运维与性能优化

发表回复