Cannot find libmysqlclient_r under usr/local/mysql
2010-10-07 15:51
831 查看
在编译PHP5.2以上版本,经常会看到如下错误:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql. Note that the MySQL client library is not bundled anymore!
其实这跟PHP没有关系
那是因为我在编译APACHE的时候,使用--with-mpm模块,所以就必须在编译MYSQL的时候加上 --enable-thread-safe-client.
这是PHP5.2的一个改进,在PHP5.2.0之前的版本都不需要MYSQL启用安全线程。
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql. Note that the MySQL client library is not bundled anymore!
其实这跟PHP没有关系
那是因为我在编译APACHE的时候,使用--with-mpm模块,所以就必须在编译MYSQL的时候加上 --enable-thread-safe-client.
这是PHP5.2的一个改进,在PHP5.2.0之前的版本都不需要MYSQL启用安全线程。
相关文章推荐
- configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
- configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
- 源码安装php提示Cannot find libmysqlclient under /usr/local/mysql
- 解决:error: Cannot find libmysqlclient_r under /usr/local/mysql.
- 转 解决:error: Cannot find libmysqlclient_r under /usr/local/mysql.
- configure: error: Cannot find libmysqlclient under /usr/local/mysql.
- php 安装 configure: error: Cannot find libmysqlclient under /usr. 解决
- configure: error: Cannot find libmysqlclient under /usr
- 编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
- 正文字体大小:大 中 小 解决configure: error: Cannot find libmysqlclient under /usr
- 编译PHP时候报错:configure: error: Cannot find libmysqlclient under /usr 解决
- Fedora 安装php出现错误 Cannot find libmysqlclient under /usr
- 64位centos上nginx,php编译安装遇configure: error: Cannot find libmysqlclient under /usr 错误解决
- configure: error: Cannot find libmysqlclient under /usr.
- 编译安装php, Cannot find libmysqlclient under /usr
- 编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
- configure: error: Cannot find libmysqlclient under /usr 解决
- 解决configure: error: Cannot find libmysqlclient under /usr.
- PHP编译报错configure: error: Cannot find libmysqlclient under 解决方法
- 编译PHP时提示:configure: error: Cannot find MySQL header files under /usr. 解决