LAMP编译:usr bin ld cannot find lltdl 错误的解决办法

作者:佚名 上传时间:2019-05-28 版权申诉

文章来源:http://yangsiwei.com/usr-bin-ld-cannot-find-lltdl-%E9%94%99%E8%AF%AF%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95

php在make过程中出现“usr bin ld cannot find lltdl”错误,详细错误如下:

/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

在Google上搜了好久,终于找到答案,原来是在编辑php时添加的“–with-mcrypt”选项造成。所以“usr bin ld cannot find lltdl”错误解决办法如下:

1、如果不需要mcrypt,那么编辑php时去掉该选项,然后再make、make install。

2、如果需要mcrypt,那么需要安装libltdl

libltdl在libmcrypt软件包中就有,具体过程:

#cd /software/libmcrypt-2.5.8/libltdl

#./configure  –enable-ltdl-install

#make

#make install

这个时候再回到php的安装目录下进行php的安装,应该就没有什么问题了:)

免责申明:文章和图片全部来源于公开网络,如有侵权,请通知删除 server@dude6.com

用户评论
相关推荐
LAMP编译usr bin ld cannot find lltdl 错误解决办法
文章来源:http://yangsiwei.com/usr-bin-ld-cannot-find-lltdl-%E9%94%99%E8%AF%AF%E7%9A%84%E8%A7%A3%E5%
darknet usr bin ld cannot find lcuda
ubuntu18.04 , cuda10.0 编译darknet出现/usr/bin/ld: cannot find -lcuda cannot find -lcuda 意思是编译时未找到libcud
PDF
29KB
2021-01-15 15:38
Linux编译静态链接出现usr bin ld cannot find lc解决方式
Linux编译静态链接出现:/usr/bin/ld:cannotfind-lc.将libc.a拷贝到usr/lib/中,问题得以解决。
A
0B
2019-07-19 10:19
/usr/bin/ld: cannot find -lmysqlclien
环境 centos5.7 x86_64 系统上安装postfix ! 错误 "/usr/bin/ld: cannot find -lmysqlcli
usr/bin/ld: cannot find 错误解决方法
参考:http://blog.siyebocai.cn/20100324_5p424qs7.html 通常在软件编译时出现的usr/bin/ld: cannot find
usr/bin/ld: cannot find 错误解决方法
参考:http://blog.siyebocai.cn/20100324_5p424qs7.html 通常在软件编译时出现的usr/bin/ld: cannot find -lx
安装chkrootkit 报 /usr/bin/ld: cannot find -lc出错
1、环境:系统centos x64 6.6 2、软件:安装chkrootkit出错
usr bin ld找不到lcuda
1,这是一个压缩文件,解压后名称应为libcuda.so,是cuda库中的一个重要文件。2,这个文件用于不具备cuda显卡的电脑在ubuntu平台配置gpgpu-sim时,绕过因为找不到lcuda而无
7Z
0B
2019-09-07 02:49
编译PHP报错configure error Cannot find libmysqlclient under usr解决方法
今天在64位Red Hat Enterprise Linux AS release 4 .7上编译PHP5.2.6出错,mysql是使用的RPM方式安装的,PHP编译代码如下: ./configure
PDF
33KB
2020-12-22 11:12
AIX系统中遇到/usr/bin/ld: 0706-006 Cannot find or open library文件问题
这个错误表明链接器无法找到或打开指定的库文件。出现这种情况通常是由于系统找不到所需的库文件路径或者库文件本身不存在。首先,您需要确认指定的库文件是否存在于系统中,并检查库文件的路径是否正确。可以使用f
AIX 7.2
AIX
2023-12-04 02:43