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
Release: 2016-07-13 17:34:43
Original
832 people have browsed it

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...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template