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

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

WBOY
WBOYOriginal
2016-06-13 10:33:37781browse

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

 

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