fedota 20编译php checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. 错误

php-5.5.15 + mysql-5.5.27,编译php的时候报错,
checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information.

解决方法
重新编译mysql,并把-DENABLE_DTRACE=0这项加进mysql的编译cmake参数里面。

fedota 20编译php checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. 错误

时间: 2024-12-29 12:37:24

fedota 20编译php checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. 错误的相关文章

Ubuntu编译安装Php,配置时出现:Configure: error: XML configuration could not be found

解决这个问题是需要安装libxml, sudo apt-get install libxml2-dev Ubuntu编译安装Php,配置时出现:Configure: error: XML configuration could not be found,布布扣,bubuko.com

编译安装php服务报错问题:configure: error: Cannot find libmysqlclient under /usr.

在编译安装php服务时报错: checking for MSSQL support via FreeTDS... nochecking for MySQL support... yeschecking for specified location of the MySQL UNIX socket... noconfigure: error: Cannot find libmysqlclient under /usr.Note that the MySQL client library is no

解决mysql跟php不在同一台机器上,编译安装php服务报错问题:configure: error: Cannot find MySQL header files under /application/mysql.

在编译安装php服务时报错: configure: error: Cannot find MySQL header files under /application/mysql. Note that the MySQL client library is not bundled anymore! 前边搭建lnmp环境时,是把mysql和php安装在了同一台机器上,编译php的时候,需要通过参数 --with-mysql来指定mysql的安装路径,但在生产环境中,通常php和mysql是不在同一台

checking ImageMagick MagickWand API configuration program... configure: error:

安装imagick报错: [[email protected] imagick-2.3.0]# ./configure --with-php-config=/usr/local/php/bin/php-configchecking  ImageMagick MagickWand API configuration program... configure: error:  not found. Please provide a path to MagickWand-config or Wand-

checking for main in -lmysqlclient... no

TFS编译报错: checking for main in -lmysqlclient... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no configure: error: readline header files not found, --disable-readline or

Linux(CentOS6.5)下编译安装PHP5.6.22时报错”configure: error: ZLIB extension requires gzgets in zlib”的解决方式(确定已经编译安装Zlib,并已经指定Zlib路径)

本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢!   今天在CentOS6.5下编译安装PHP时,一直报错 configure: error: ZLIB extension requires gzgets in zlib 而Zlib确定已经安装了. 使用Google根本搜索不到有关的错误. 尝试重新编译了Zlib,还是不行. 后面发现我的PHP编译选项里面有个 --with-libdir=lib64 \ 删除之,再

Apache 2.4.20 编译安装

1.安装版本 Apache版本:2.4.20 2.安装编译环境 [[email protected] ~]# yum -y install gcc gcc-c++ pcre pcre-devel 源码安装apr和apr-util,第6步中有安装方法. 3.下载Apache [[email protected] ~]# cd  /usr/local/src/ [[email protected] src]# wget http://mirror.bit.edu.cn/apache/httpd/ht

安装RabbitMQ编译erlang时,checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details.

checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details. 打开config.log查看明细: 网上找了下,说是没有安装cpp,libc5-devel,而在redhat中指的是glibc,glibc-devel,cpp,查看是否安装,: 果然没有,然后安装: 再次编译,发现换了一

解决编译apache出现的问题:configure: error: APR not found . Please read the documentation

今日编译apache时出错: #./configure --prefix……检查编辑环境时出现: checking for APR... no configure: error: APR not found .  Please read the documentation 解决办法: 1.下载所需软件包: apr以及apr-util官网 http://apr.apache.org/download.cgi wget http://apache.fayea.com//apr/apr-1.5.2.t