configure php with oracle9i
Hi, gurus
I am trying to configure apache,php with oracle9i on sun solaris.
I succeded installed and configured apache. But I had problems with configuring php with oracle9i. After trying with mailing lists with php.net, no help from it. I figure someone with this forum might be able to help. The error message is as follows(from debug.log):
CONFIGURE: './configure' '--with-oracle=/oracle/product/9.2.0' '--with-apxs=/u
sr/local/apache/bin/apxs' '--with-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/orac
le/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-sola
ris2.8/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -R/oracle/pro
duct/9.2.0/lib -L/oracle/product/9.2.0/lib
LIBS: -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl -l
clntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 /ora
cle/product/9.2.0/lib
uname -a: SunOS TMLEADS 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Blade-100
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/2.95.3 -L/usr/local/lib/gcc-lib/sp
arc-sun-solaris2.8/2.95.3 -R/oracle/product/9.2.0/lib -L/oracle/product/9.2.0/li
b 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: ELFCLAS
S64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
Thanks for help or hint are welcome!
DF
Still learning
In PHP.ini file uncomment the ';'
from this line...
;extension=php_oracle.dll
and try again...
Tarry Singh
I'm a JOLE(JavaOracleLinuxEnthusiast)
---
Everything was meant to be ---
Thanks, I have not gone that far yet. I am still in the phase of configure, only when I successfully configure then I can go to make and make install.
DF
Still learning
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks