编译mcrypt时,报错:You need at least libmhash 0.8.15
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译mcrypt时,报错:You need at least libmhash 0.8.15相关的知识,希望对你有一定的参考价值。
执行 ./configure 编译源码,报错如下:
checking whether mhash >= 0.8.15... no
configure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"
奇怪,libmhash安装的是 mhash-0.9.9.9.tar.gz ,怎么会报这样的错误呢,难道是没找到?
[plain] view plain copy
ln -s /usr/local/lib/libmhash.a /usr/lib/libmhash.a
ln -s /usr/local/lib/libmhash.la /usr/lib/libmhash.la
ln -s /usr/local/lib/libmhash.so /usr/lib/libmhash.so
ln -s /usr/local/lib/libmhash.so.2 /usr/lib/libmhash.so.2
ln -s /usr/local/lib/libmhash.so.2.0.1 /usr/lib/libmhash.so.2.0.1
一通上面的操作之后,还是不行。
打开/etc/ld.so.conf,在文件之后,添加一行:
[html] view plain copy
/usr/local/lib
然后,执行 ldconfig ,重新编译即可
本文出自 “火星男-神自不凡” 博客,请务必保留此出处http://marsman.blog.51cto.com/6410055/1915645
以上是关于编译mcrypt时,报错:You need at least libmhash 0.8.15的主要内容,如果未能解决你的问题,请参考以下文章
you need (at least one of) the RELOAD privilege(s) for this operation
1227- Access denied; you need (at least one of) the PROCESS privilege(s) for this operation
使用Mysql Workbench 导入数据库提示 ERROR 1227 (42000) at line 18: Access denied; you need (at least one of) t
Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation
错误记录Android 应用运行报错 ( You need to use a Theme.AppCompat theme (or descendant) with this activity. )(代
解决MySQL8 #1227 – Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this ...