I am trying to install PHP 5.0.4 on my Solaris 8 server.
I have already installed mysql 4.1.11 and Apache 2.0.54. Both appear to
work fine..
I'm running the ./configure with the following options:
../configure --with-apxs2=/opt/csw/apache2/bin/apxs --with-
mysql=/usr/local/mysql --with-zlib-dir=/opt/csw/lib
The script terminates with the the following error (from the
config.log)
-----------------
ld: warning: file /usr/local/mysql/lib/libmysqlclient. a(client.o):
wrong
ELF class: ELFCLASS64
Undefined first referenced
symbol in file
mysql_error /var/tmp/ccmSQSM2.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 56843 "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();
-----------------
I have tried now for hours and hours but still I cant solve this. Any
hints and tips will be greatly appretiated.
Thanks !
I have already installed mysql 4.1.11 and Apache 2.0.54. Both appear to
work fine..
I'm running the ./configure with the following options:
../configure --with-apxs2=/opt/csw/apache2/bin/apxs --with-
mysql=/usr/local/mysql --with-zlib-dir=/opt/csw/lib
The script terminates with the the following error (from the
config.log)
-----------------
ld: warning: file /usr/local/mysql/lib/libmysqlclient. a(client.o):
wrong
ELF class: ELFCLASS64
Undefined first referenced
symbol in file
mysql_error /var/tmp/ccmSQSM2.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 56843 "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();
-----------------
I have tried now for hours and hours but still I cant solve this. Any
hints and tips will be greatly appretiated.
Thanks !