Php5 with mysqlI for mysql 4.1 error

From: Date: Tue, 16 Nov 2004 21:28:49 +0000
Subject: Php5 with mysqlI for mysql 4.1 error
Groups: php.install 
Request: Send a blank email to php-install+get-14735@lists.php.net to get a copy of this message
I'm trying to compile php5 with mysqli support for mySql 4.1 (on Solaris 9), but get a class error. Based on some threads I've seen, it may be an issue with the sparc64 version of mySql. Is there any way to resolve this? Output from config.log follows: configure:54936: checking for MySQLi support configure:54982: checking whether to enable embedded MySQLi support configure:55115: checking for mysql_set_server_option in -lmysqlclient configure:55134: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/local/mysql/lib -L/usr/local/mysql/lib -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-sola ris2.9/3.3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 -R/usr/local/lib -L/usr/lo cal/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm conftest.c -lmysqlclient - lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -li conv -lm -lsocket -lnsl 1>&5 ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF class: ELFCLASS64 Undefined first referenced symbol in file mysql_set_server_option /var/tmp//ccqwk67H.o ld: fatal: Symbol referencing errors. No output written to conftest Thanks, Cary

« previous php.install (#14735) next »