时间:2021-07-01 10:21:17 帮助过:40人阅读
错误信息是 /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
http://www.bkjia.com/PHPjc/508452.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/508452.htmlTechArticleFrom 包子s Blog 错误信息是 /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient 原因 php编译用的/usr/lib/mysql这个32位...