Home >Backend Development >PHP Tutorial >Problems with compiling PHP+mysql on 64-bit systems_PHP tutorial

Problems with compiling PHP+mysql on 64-bit systems_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:34:43827browse

From 包子s Blog

The error message is /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

Reason

The 32-bit library /usr/lib/mysql used for PHP compilation is not compatible

Solution

mv /usr/lib/mysql /usr/lib/mysql.org
ln -s /usr/lib64/mysql /usr/lib/mysql

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508452.htmlTechArticleFrom Baozis Blog The error message is /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient .so when searching for -lmysqlclient The reason is that the 32-bit /usr/lib/mysql used for PHP compilation...
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