configure: error: mysql configure failed
AS5 X64下php-5.3.3编译时出现configure: error: mysql configure failed. 是由于64位引起的 处理办法: ln -s /usr/lib64/mysql/ /usr/local/lib/mysql ln -s /usr/include/mysql/ /usr/local/include/mysql ./configure --prefix=/usr/local/php --with-ap
AS5 X64下 php-5.3.3编译时出现configure: error: mysql configure failed.
是由于64位引起的
处理办法:
ln -s /usr/lib64/mysql/ /usr/local/lib/mysql
ln -s /usr/include/mysql/ /usr/local/include/mysql
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr/local/zlib --with-gd=/usr/local/gd -with-png-dir=/usr/local --with-jpeg-dir=/usr --with-freetype-dir=/usr/local --enable-mbstring --with-mysql=/usr/local --with-xml
请确认是否安装
mysql-5.0.22-2.2.el5_1.1.x86_64.rpm 也可以用mysql-5.0.22-2.1.x86_64.rpm
mysql-devel-5.0.22-2.2.el5_1.1.x86_64.rpm 也可以用 mysql-devel-5.0.22-2.1.x86_64.rpm
推荐阅读
-
解决Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-f8IeEI/MYSQL-python/
-
CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
-
编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
-
CentOS 7 离线环境安装nginx时报错:./configure: error: C compiler cc is not found
-
MySQL创建用户错误ERROR 1396 (HY000): Operation CREATE USER failed for 'XXXX'@'XXXX'问题解
-
编译安装PHP出现configure: error: mysql configure failed. Plea
-
springboot启动报错Failed to configure a DataSource: 'url' attribute is not specified
-
configure: error: cannot guess build type; you must specify one
-
CentOS7安装MySQL错误解决:error: Failed dependencies net-tools is needed by
-
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.