Compile PHP 4.3.2 with Oracle 9.2.0 Support..? Wrong Elf Class: ELFCLASS64 ??
| From: | Sébastien Mortier | Date: | Wed, 30 Jul 2003 14:13:20 +0000 |
| Subject: | 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-11361@lists.php.net to get a copy of this message | ||
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_SEMANTICSCXX: 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 -lclntshDLIBS:
SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 /oracle/product/9.2.0/libuname -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