Bombs out at 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.
Config.log configure:59308: checking for MySQL support configure:59355: checking for specified location of the MySQL UNIX socket configure:59413: checking for MySQL UNIX socket location configure:59604: checking for mysql_close in -lmysqlclient configure:59623: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib/mysql -L/usr/lib -L/usr/kerberos/lib64 -L/usr/local/freetds/lib conftest.c -lmysqlclient -lsybdb -lldap -llber -lgmp -lfreetype -lpng -lz -ljpeg -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -lssl -lcrypto -ldl -lz 1>&5 /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 59612 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_close(); int main() { mysql_close() ; return 0; } configure:59846: checking for mysql_error in -lmysqlclient configure:59865: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib/mysql -L/usr/lib -L/usr/kerberos/lib64 -L/usr/local/freetds/lib -L/usr conftest.c -lmysqlclient -lz -lsybdb -lldap -llber -lgmp -lfreetype -lpng -lz -ljpeg -lcurl -lbz2 -lz -lpcre -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -lssl -lcrypto -ldl -lz 1>&5 /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 59854 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); int main() { mysql_error() ; return 0; } Configure script: ./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --without-sqlite --with-mysql --with-mysqli=/usr/lib64/mysql/mysql_config --with-pdo-mysql --with-gd --with-pdo-odbc=unixODBC,/usr --disable-dom --disable-dba --with-mssql=/usr/local/freetds --enable-mbstring --enable-soap --with-xmlrpc --with-libxml-dir=/usr/include/libxml2 --with-ldap --with-pdo-dblib=/usr/local/freetds --enable-zip --with-fastcgi --enable-discard-path --enable-force-cgi-redirect I for sure have both the devel packages for mysql installed (i386 and x86_64) and yes /usr/lib64/mysql/mysql_config exists. Any ideas on this one? Thanks again.