Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004112

[PHP-INSTALL] Php5 with mysqlI for mysql 4.1 error From: Mader, Cary J (cary.mader <email protected>)
Date: 11/16/04

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