解决方法一:

最后查看php官方文档解决. 在configure 里面加上   --with-libdir=lib64

解决方法二:

   编辑/etc/ld.so.conf

  根据系统,加入include /etc/ld.so.conf,

  然后执行ldconfig,使其重新加载一次;(如果出错改为vi /etc/ld.so.conf  >> include /usr/local/libmcrytp/lib/)

 

 

错误说明

今天在centos 6.3 64位版本上安装PHP5.4.3时在./configure 步骤的时候出现了下面错误
configure: error: Cannot find ldap libraries in /usr/lib
原因是动态链接库地址的问题。

 

解决方法

具体的解决办法如下:
cp -frp /usr/lib64/libldap* /usr/lib/
然后再./configure …即可编译通过

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2021-06-21
  • 2021-12-17
  • 2021-11-27
  • 2021-08-03
  • 2022-01-12
  • 2021-12-20
猜你喜欢
  • 2022-01-01
  • 2021-11-08
  • 2021-11-29
  • 2022-12-23
  • 2021-06-27
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案