Imad Posted February 25, 2009 Share Posted February 25, 2009 Hello All, For some reason PHP won't configure with MySQL. I have all the PHP dependencies installed and up-to-date. Operating System: Fedora Core 7 My MySQL version is: 5.1.31 PHP Version: 5.2.8 PHP Config Error: checking whether to include mime_magic support... no checking for MING support... no checking for mSQL support... no checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. PHP config.log Error: configure:19949: checking for xml2-config path configure:20107: checking whether libxml build works configure:20134: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5 /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure: failed program was: #line 20123 "configure" #include "confdefs.h" char xmlInitParser(); int main() { xmlInitParser(); return 0; } Any help will be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/146911-php-wont-configure-with-mysql/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.