Home > php教程 > php手册 > 64位系统编译PHP+mysql的问题

64位系统编译PHP+mysql的问题

WBOY
Release: 2016-06-13 10:33:37
Original
854 people have browsed it

From  包子s Blog

错误信息是 /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

原因

php编译用的/usr/lib/mysql这个32位的库,不兼容

解决办法

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

 

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