Home > Database > Mysql Tutorial > configure: error: mysql configure failed

configure: error: mysql configure failed

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:52:21
Original
1541 people have browsed it

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

 

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Configure server
From 1970-01-01 08:00:00
0
0
0
How to configure bcmath
From 1970-01-01 08:00:00
0
0
0
phpstorm cannot configure artisan command
From 1970-01-01 08:00:00
0
0
0
How to configure apache to access svn
From 1970-01-01 08:00:00
0
0
0
How to configure nginx custom 500 page
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template