| Chip Burke 2008-01-22, 7:12 pm |
| Bombs out at=20
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=3D --prefix=3D/usr --exec-prefix=3D/usr
--bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc =
--datadir=3D/usr/share
--includedir=3D/usr/include --libdir=3D/usr/lib =
--libexecdir=3D/usr/libexec
--localstatedir=3D/var --sharedstatedir=3D/usr/com =
--mandir=3D/usr/share/man
--infodir=3D/usr/share/info --cache-file=3D../config.cache
--with-config-file-path=3D/etc --with-config-file-scan-dir=3D/etc/php.d
--disable-debug --with-pic --disable-rpath --with-bz2 --with-curl
--with-exec-dir=3D/usr/bin --with-freetype-dir=3D/usr =
--with-png-dir=3D/usr
--enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp =
--with-iconv
--with-jpeg-dir=3D/usr --with-openssl --with-png --with-pspell
--with-expat-dir=3D/usr --with-pcre-regex=3D/usr --with-zlib =
--with-layout=3DGNU
--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=3D/usr/share/pear
--with-kerberos --enable-ucd-snmp-hack --with-unixODBC=3D/usr
--enable-memory-limit --enable-shmop --enable-calendar --enable-dbx
--enable-dio --without-sqlite --with-mysql
--with-mysqli=3D/usr/lib64/mysql/mysql_config --with-pdo-mysql --with-gd
--with-pdo-odbc=3DunixODBC,/usr --disable-dom --disable-dba
--with-mssql=3D/usr/local/freetds --enable-mbstring --enable-soap
--with-xmlrpc --with-libxml-dir=3D/usr/include/libxml2 --with-ldap
--with-pdo-dblib=3D/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.
|