错误一:configure: error: Cannot find ldap libraries in /usr/lib
在centos 6.x 64位版本上安装LNMP,config php的时候出现下面错误而退出
configure: error: Cannot find ldap libraries in /usr/lib
解决办法:
cp -frp /usr/lib64/libldap* /usr/lib/
然后再./configure ...即可
错误二、configure: error: Cannot find ldap.h
编译 php出现如下错误
configure: error: Cannot find ldap.h
安装 :
yum -y install openldap openldap-devel