教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib

CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib

发布时间:2018-12-21   编辑:jiaochengji.com
教程集为您提供CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib等资源,欢迎您收藏本站,我们将为您提供最新的CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib资源
CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib 有需要的朋友可参考参考。

在CentOS 64位下编译安装PHP5.4.8。cp -frp /usr/lib64/libpng* /usr/lib/ 结果在configure的时候提示

configure: error: Cannot find ldap libraries in /usr/lib

提示在/usr/lib 下找不到相关模块,这是因为64位的linux默认把以上文件都存在 /usr/lib64 文件夹下。

解决方法:

<table width="620" align="center" border="0" cellpadding="1" cellspacing="1" style="background:#FB7"> <tr> <td width="464" height="27" bgcolor="#FFE7CE"> 代码如下</td> <td width="109" align="center" bgcolor="#FFE7CE" style="cursor:pointer;" onclick="doCopy('copy3821')">复制代码</td> </tr> <tr> <td height="auto" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding:10px;" class="copyclass" id=copy3821>

cp -frp /usr/lib64/libldap* /usr/lib/

重新configure即可

您可能感兴趣的文章:
CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib
Centos下安装PHP ldap扩展
使用super-smack测试mysql数据库性能
centos5.6+nginx1.04+mysql5.5.14+php5.3.6(LNMP)一键安装脚本
无法读取mysql库文件的故障排除
ImageMagick安装说明(新手必备)
fedora20+Nginx+Mysql+PHP配置教程
phpmyamdin安装出现Warning: require(./libraries/Error_Handler.class.php) 错误解决办法
PHP启动报错 php提示SNMP错误的解决方法
centos6.2中编译安装bind-9.9.0

[关闭]
~ ~