在源码安装php的时候。./configure 编译的时候报这个错误
configure: error: Cannot find ldap libraries in /usr/lib.
网上说cp -frp /usr/lib64/libldap* /usr/lib/这样可以解决问题,但是我系统中没有/usr/lib64这个文件,大神们求解答。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
如果你使用了
--with-ldap配置项,请先做好相关库软链接,以免configure时出现错误:其实还有好几个地方需要类似操作,总结一下:
Ubuntu上更详尽的编译安装PHP的步骤请看这里.
安装什么源码报的错?
参考这个:http://blog.sina.com.cn/s/blo...