CentOS5.5下安装libmcrypt失败

libmcrypt是什么??

 

是加密算法扩展库---支持DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+等算法

 

在安装时候出现如下错误:

 

checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
[root@localhost libmcrypt-2.5.8]# make && make install
make  all-recursive
make[1]: Entering directory `/wwwroot/LampSoft/libmcrypt-2.5.8'
Making all in modules
make[2]: Entering directory `/wwwroot/LampSoft/libmcrypt-2.5.8/modules'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/wwwroot/LampSoft/libmcrypt-2.5.8/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wwwroot/LampSoft/libmcrypt-2.5.8'
make: *** [all] Error 2


 

出现该情况是由于c++编译器的相关package没有安装,以root用户登陆

 

# yum install glibc-headers

# yum install gcc-c++ 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值