版本:
ubuntu 12.04 LTS
起因:
在编译一个lnmp
php5.4.8
mysql5.5.28
nginx1.3.8
期间编译完毕mysql和nginx后
在配置php过程中
代码: 全选
checking for ANSI C header files... (cached) yes
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... yes
configure: error: Cannot find ldap libraries in /usr/lib.
代码: 全选
$ whereis ldap
ldap: /etc/ldap /usr/include/ldap.h /usr/share/man/man3/ldap.3.gz