php5.3.28+apache2.4.10 编译过程中遇到一个问题:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
原因:php编译时添加了
–with-mcrypt”选项造成。所以“usr bin ld cannot find lltdl”
解决方法:
#cd libmcrypt-2.5.8/libltdl
#./configure –enable-ltdl-install
#make
#make install
重新回到php安装目录,再次make,即可正常
或者:
yum -y install libtool-ltdl-devel
阅读(1348) | 评论(0) | 转发(0) |