如题,出现如下错误 :
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp6.la] 错误 1
[root@gzf php6.0-200811120530]# yum search lltdl
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirror.be10.com
* updates: mirror.be10.com
* addons: mirror.be10.com
* extras: centos.candishosting.com.cn
No Matches found
解决办法
下载mcrypt源代码包,进入源代码包下的libltdl目录下
#cd /usr/local/libmcrypt-x.x.x/libltdl
加如下参数编译
# ./configure --enable-ltdl-install
# make
# make install
# make clean
阅读(726) | 评论(0) | 转发(0) |