Home >Backend Development >PHP Tutorial >Error occurs when compiling PHP on CentOS 64: Cannot find ldap libraries in /usr/_PHP tutorial

Error occurs when compiling PHP on CentOS 64: Cannot find ldap libraries in /usr/_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:56:30955browse

Error occurs when compiling PHP on CentOS 64: Cannot find ldap libraries in /usr/lib. Friends in need can refer to it.

Compile and install PHP5.4.8 under CentOS 64-bit. cp -frp /usr/lib64/libpng* /usr/lib/ The result is prompted

during configure

configure: error: Cannot find ldap libraries in /usr/lib

It prompts that the relevant modules cannot be found in /usr/lib. This is because 64-bit Linux stores the above files in the /usr/lib64 folder by default.

Solution:

cp -frp /usr/lib64/libldap* /usr/lib/
The code is as follows
 代码如下 复制代码

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

Copy code

Just reconfigure http://www.bkjia.com/PHPjc/632161.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/632161.html
TechArticle
CentOS 64 error occurs when compiling PHP: Cannot find ldap libraries in /usr/lib Friends in need can refer to it. Compile and install PHP5.4.8 under CentOS 64-bit. cp -frp /usr/lib64/libpng* /usr...
Statement:
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