I'm trying to configure php 4.3.2 on an ultra 5 running solaris 9. I am also using gcc 3.2.2. This is my command line:
./configure --with-mysql=/usr/local/mysql --with-xml --with-apache2=../httpd-2.0.45 --enable-track-vars --with-zlib-dir=/usr/local/lib
Here is the error from the config.log:
-L/usr/local/mysql/lib
-R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2 -L/usr/local/lib
/gcc-lib/sparc-sun-solaris2.9/3.2.2 conftest.c -lmysqlclient -lz -lresolv -lm -ldl -lnsl -lsocket
-lgcc 1>&5
ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF class: ELFCLASS64
Undefined first referenced
symbol in file
mysql_close /var/tmp//ccCBv8nx.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
What is this 'ELFCLASS64'? Mysql is v 4.0.12 (64bit). Is it some sort or 64bit problem??