Php5 with mysqlI for mysql 4.1 error

[email protected] ("Mader, Cary J")
Newsgroups php.install
Message-ID <E850A28DAB65D411B8E300508BDFE324263558B8@USPLM211.txpln.us.eds.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.