Home > php教程 > php手册 > CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/

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

WBOY
Release: 2016-06-13 09:56:36
Original
1440 people have browsed it

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 文件夹下。

解决方法:

 代码如下 复制代码

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

重新configure即可

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template