Home > Configure Error > Configure Error Wrong Mysql Library Version Or Lib Not Found

Configure Error Wrong Mysql Library Version Or Lib Not Found

I repeat, DO NOT make install unless you really wish to overwrite your binary verions, which is not a good idea. ( You can configure MySQL with the --without-server flag, but Heres how it fixed it to build php with the correct MySQL client libraries. ---------------- I had installed the binary version of MySQL 5 from MySQL AB. yes checking whether to enable embedded MySQLi support... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for 8-bit clean memcmp... http://iembra.org/configure-error/configure-error-no-curses-termcap-library-found-mysql.php

Last edited by knudfl; 11-06-2009 at 11:51 AM. But I have uninstalled that before and reinstalled the 4.1.7 RPM packages from the MySQL website. Legal Policies Your Privacy Rights Terms of Use Contact Us Portions of this website are copyright © 2001, 2002 The PHP Group Page generated in 0.043 sec. no checking for MSSQL support via FreeTDS... other

But try as I might I can't get php to configure. Thx AnthonySterling 2010-12-27 23:57:10 UTC #4 I've just fired up a clean Ubuntu Server 10.04 (32bit) VM instance and having a go myself. After looking further into the problem I realized that I needed to install the MySQL development package via yum.

text checking for set_mysql_server_option in -lmysqlclient... Thanks. yes checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... yes checking for specified location of the MySQL UNIX socket...

No problem I thought, I just changed the --with-mysqli flag to --with-mysqli=/usr/local/mysql/bin/mysql_config ( or sudo find / -name mysql_config to find yours ). I've met every other required dependencies, but I am getting an error while configuring, which I don't seem to understand well. Either use a native x86_64 build of MySQL (recommended), or try and build a 32-bit version of PHP (not recommended). Reply With Quote 09-08-2014,03:38 PM #4 smtalk View Profile View Forum Posts Verified User Join Date Aug 2006 Location LT, EU Posts 6,686 Have you checked config.log in PHP directory when

Advanced Search Forum PHP Help Install [RESOLVED] Problem installing php5 with mysqli and mysql5 If this is your first visit, be sure to check out the FAQ by clicking the link Additionally, I see there's a bug raised (#58987) which relates to 5.3.4 and MySQL 5.5; it maybe worth a look. --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd quicksand 2010-12-27 23:50:12 UTC #3 Yes, I looked Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You cannot use 32-bit libraries (e.g. Code: cd /usr/local/directadmin/custombuild ./build set new_zlib no ./build zlib ./build libxml2 ./build libxslt ./build php n While the build processes were being done, I noticed the following: Code: threads.c:53: warning: redundant

no configure: error: wrong mysql library version or lib not found. https://www.question-defense.com/2009/04/02/compiling-php-with-litespeed-configure-error-wrong-mysql-library-version-or-lib-not-found Posts: 16,276 Rep: Well .... no checking for mSQL support... Last updated: Wed Oct 05 05:01:38 2016 UTC

kingkashif View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kingkashif 11-06-2009, 11:02 AM #3 knudfl LQ 5k Club Registered: Jan 2008 http://iembra.org/configure-error/configure-error-invalid-apr-version-found.php yes checking for mysql_set_server_option in -lmysqlclient... AnthonySterling 2010-12-28 03:08:02 UTC #7 Yay. ./configure --with-apxs2=/usr/bin/apxs2 --enable-cgi --with-openssl --with-tidy --with-curl --with-xsl --with-xmlrpc --with-mcrypt --with-gd --with-jpeg-dir=/usr --with-config-file-path=/etc/php5/php.ini --with-config-file-scan-dir=/etc/php5/ --enable-cli --with-zlib-dir=/usr --enable-mbstring --enable-zip --enable-gd-native-ttf --with-freetype-dir=/usr --with-png-dir=/usr --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd [email protected]:~/php-5.3.4$ php Check config.log for more information.

I have libmysqlclient.so in /usr/lib64/mysql/ I also made a symlink of it in /usr/lib64 But still no luck. Results 1 to 8 of 8 Thread: configure: error: wrong mysql library version or lib not found. As for libz.so: I wouldn't recommend you having it built using CB at all. █ Martynas Bendorius █ MB Martynas IT. have a peek here However, now (as I look to me left at the console) I see the ./configure just worked!

ld: 0706-027 The -R /usr/local/mysql/lib flag is ignored. no checking for variable length prototypes and stdarg.h... Check config.log for more information. **ERROR** Could not configure PHP build Last edited: May 17, 2011 flowcubano, May 17, 2011 #1 NiteWave Administrator for php 5.3.x, please use --with-mysql=mysqlnd --with-mysqli=mysqlnd

In the meantime, can you, please, try to install and compile with 5.0.18 just released and/or with 5.0.17 compiled from sources as described in Bug #15938.

Issue the below command to resolve this issue. Professional server management company. Check config.log for more information. yeschecking for specified location of the MySQL UNIX socket...

Could you let me know where config.log is located? yes checking whether time.h and sys/time.h may both be included... The good news is I can compile it just fine with... ./configure --with-apxs2=/usr/bin/apxs2 --enable-cgi --with-openssl --with-mysql=[B]/usr/local/mysql[/B] --with-tidy --with-curl --with-xsl --with-xmlrpc --with-mcrypt --with-gd --with-jpeg-dir=/usr --with-config-file-path=/etc/php5/php.ini --with-config-file-scan-dir=/etc/php5/ --enable-cli --with-zlib-dir=/usr --enable-mbstring --enable-zip --enable-gd-native-ttf --with-freetype-dir=/usr Check This Out Thanks man, thanks very much, My problem has been solved.

I used the binaries provided on mysql.com to install mysql. Join our community today! I need to know, where dynamic linking libraries are supposed to be found.) [23 Dec 2005 14:22] [ name withheld ] >> find / -name libmysqlclient* 2>/dev/null /usr/local/mysql-standard-5.0.16-aix5.2-powerpc-64bit/lib/libmysqlclient.a /usr/local/mysql-standard-5.0.16-aix5.2-powerpc-64bit/lib/libmysqlclient_r.a >> echo It's not a PHP bug on this one because PHP found MySQL library but ran into problem.

mysql was originally installed from a centos repo and apparently does not install to the folder php has in its default settings. [22 Jan 2007 0:00] Bugs System No feedback was no checking for MySQL UNIX socket location... /var/tmp/mysql.sock checking for mysql_close in -lmysqlclient... This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. knudfl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by knudfl 09-20-2011, 03:52 AM #4 GloolsGuan LQ Newbie Registered: Sep 2011 Location:

from MySQL-client-4.1.7-0.i386.rpm) in a 64-bit PHP build. With the ls -la command for mysql.. # ls -la /usr/local/mysql I get this... We don't meant any harm but we can ill-afford to have continous problem like this since we dont' have problem with configuring and compiling OpenSSL, PHP, Apache, etc. Please let me know to which file I should include the above line (--with-mysql=mysqlnd --with-mysqli=mysqlnd) smartcard, Jan 30, 2012 #4 webizen New Member smartcard said: ↑ Please let me know

lrwxrwxrwx 1 root system 53 Nov 23 11:27 /usr/local/mysql -> /usr/local/mysql-standard-5.0.16-aix5.2-powerpc-64bit This symbolic link worked fine with older mysql version on a different machine, MySQL Version 4.0.18 when compiling PHP there Hello friends, Well I am trying to compile php 5.3 from sources.. Any help would be greatly appreciated.