oracle installing + Solaris + PHP
| From: | timothy comben | Date: | Thu, 30 Sep 2004 20:35:29 +0000 |
| Subject: | oracle installing + Solaris + PHP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14460@lists.php.net to get a copy of this message | ||
Hello,
I am trying to link php to one of my oracle database running on Solairs, I
following the comments on the linking to the 32 bit versions note the 64.
When I try to'configure' the php it always stops and reports that there are
files not found, but when i look into the direct the file is there! This is
doing my head in. please can someone tell me what I am doing wrong! I have
tried version 4.3x and 5.0x but get the same problem,
thanks
tim
here is the output of the debug.log
++++++++++++++++++++++++
(root@prog):/surf/web_ser/php > cat debug.log
CONFIGURE: 'configure' '--prefix=/surf/php'
'--with-apxs2=/surf/apache/bin/apxs'
'--with-oci8=/surf/oracle/product' '--with-zlib'
'--with-zlib-dir=/usr/lib'
'--enable-sigchild' '--enable-soap' '--with-openssl=/usr/local/ssl'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/ssl/include -I/surf/oracle/product/rdbms/public
-I/surf/oracle/product/rdbms/demo -I/surf/oracle/product/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/surf/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.2
-L/surf/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.2 -R/usr/local/ssl/lib
-L/usr/local/ssl/lib
-R/surf/oracle/product/lib -L/surf/oracle/product/lib
LIBS: -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lsocket -lgcc -lkstat
-lnsl -lsocket -lgen
-ldl -lsched -lclntsh
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /usr/ucblib
/surf/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.2 /usr/local/ssl/lib
/surf/oracle/product/lib
uname -a: SunOS prog 5.9 Generic_117171-10 sun4u sparc SUNW,Ultra-5_10
gcc -o
conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib
-R/surf/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.2
-L/surf/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.2
-R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/surf/oracle/product/lib -L/surf/oracle/product/lib
conftest.c -lz -lssl
-lcrypto -lresolv -lm -ldl -lnsl -lsocket -lgcc -lkstat -lnsl -lsocket -lgen
-ldl -lsched -lclntsh 1>&5
ld.so.1: ./conftest: fatal: libnnz10.so: open failed: No such file or
directory
(root@prog):/surf/web_ser/php > ls -l /surf/oracle/product/lib/libnnz10.so
-rw-r--r-- 1 oracle oinstall 4632220 Sep 29 08:54
/surf/oracle/product/lib/libnnz10.so