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++