Re: Compile PHP 4.3.2 with Oracle 9.2.0 Support..? Wrong Elf Class: ELFCLASS64 ??

From: Date: Wed, 30 Jul 2003 14:49:02 +0000
Subject: Re: Compile PHP 4.3.2 with Oracle 9.2.0 Support..? Wrong Elf Class: ELFCLASS64 ??
Groups: php.install 
Request: Send a blank email to php-install+get-11363@lists.php.net to get a copy of this message
Sébastien, The Oracle 9.2.0 client is 64 bit, and you are compiling it with other source code that is 32 bit. You must install the Oracle client 8.x (which will connect fine against a 9.x database) and compile against that to get around the problem. -- Jim >>> Sébastien Mortier <smortier@absystech.fr> 07/30/03 08:13AM >>> Hello, I try to compile PHP-4.3.2 with the Oracle support. I think there is something wrong.. The platform is a Sun Enterprise 450, with 2 CPU at 400Mhz. (Solaris 8) Apache 1.3.27 PHP 4.3.2 Oracle 9.2.0 CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-oracle' '--with-config-file-path=/etc' '--enable-sigchild' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend -I/oracle/product/9.2.0/rdbms/public -I/oracle/product/9.2.0/rdbms/demo -I/oracle/product/9.2.0/plsql/public LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 -R/oracle/product/9.2.0/lib -L/oracle/product/9.2.0/lib LIBS: -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 /oracle/product/9.2.0/lib uname -a: SunOS flalb450 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-4 gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/ 3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 -R/oracle/product/9.2.0/lib -L/oracle/product/9.2.0/lib conftest.c - lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl -lclntsh 1>&5 ld: fatal: file /oracle/product/9.2.0/lib/libclntsh.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status Could you give me some tips or advices.. Thank you. -- Sébastien Mortier AbsysTech -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#11363) next »