Configure: error: mysqlconfigurefailed

Source: Internet
Author: User
AS5X64 under the php-5.3.3 at the compilation of configure: error: mysqlconfigurefailed. is caused by 64-bit solution: ln-susrlib64mysqlusrlocallibmysqlln-susrincludemysqlusrlocalincludemysql.configure -- prefixusrlocalphp -- with-ap

AS5 X64 under the php-5.3.3 at the compilation of configure: error: mysql configure failed. the solution is caused by 64-bit: 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 under the php-5.3.3 at the compilation of configure: error: mysql configure failed.

It is caused by 64-bit

Solution:

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

Confirm whether to install

Mysql-5.0.22-2.2.el5_1.1.x86_64.rpm can also be used with mysql-5.0.22-2.1.x86_64.rpm

Mysql-devel-5.0.22-2.2.el5_1.1.x86_64.rpm can also be used with mysql-devel-5.0.22-2.1.x86_64.rpm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.