编译PHP报错

回复 收藏
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!



2016-05-27 10:26 举报
已邀请:
0

崔志朋

赞同来自:

安装mysql 客户端
0

Kry1702

赞同来自:

configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
解决方法一:
mysql编译加选项--enable-thread-safe-client
解决方法二:
cd /usr/local/mysql/lib
ln -s  libmysqlclient.so.20.2.1  libmysqlclient_r.so

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: