I am having a hard time compiling php 5.0.5 on solaris 10. I have already installed mysql 5.0.15 (Binary) 64-bit.

./configure --prefix=/PATH/php505 --with-apxs2=/PATH/apache/bin/apxs --with-mysql=/PATH/mysql/ --enable-dbase --with-zlib-dir=/path/php505/ --with-pear

This ends with -> "error: mysql config failed"

I have attached part of the config.log file:
****************************************************************************************************
ld: warning: file /apps/mysql//lib/libmysqlclient.a(client.o): wrong ELF class: ELFCLASS64
Undefined               first referenced
 symbol                     in file
mysql_error                         /var/tmp//cciQfQiO.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 61645 "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();

int main() {
mysql_error()
; return 0; }
 
*********************************************************************************************************
I am installing php 5.0.5 on a solaris 10 server 64-bit. I have already installed mysql 5.0.15 (Binary) 64-Bit. I already have Apache 2.0.54 running on this server. All the applications are installed in a non-global zone in Solaris 10. I am not sure if the problem installing php is because of 64-Bit Mysql. I would really appreciate some help.

Thank You

UR.

Reply via email to