Problem installing PHP; Oracle Instant Client 10.2;Solaris v10 (libnnz10.so not found)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi guru,

 

I really stuck installing PHP with Oracle Instant Client 10.2 onto a SunBlade 150 running Solaris v10..

 

My config:

 

PHP 5.1.6 (I also try the latest PHP 5.2.0)

Oracle Instant Client 10.2 (Solaris version)

Sun station, SunBlade 150 running Solaris 10

 

I’ve installed the Oracle Instant Client (Basic and SDK) into the directory “/home/nc3/instantclient”…

 

When I do a “./configure  xxx” (see the debug.log for the parameters I set), it went well till the last portion….It gives an error of “ld.so.1: ./conftest: fatal: libnnz10.so: open failed: No such file or directory”…I don’t even have a check to do a ‘make” and “make install”

 

I check my “/home/nc3/instantclient” directory, this file “libnnz10.so” is inside……Can I know where am I missing? How come PHP cannot locate this file ““libnnz10.so”??

 

Any help would be very must appreciated…


Thanks a million..

Choy

 

 

####### Start: Output from PHP debug.log #############

CONFIGURE:   './configure' '--with-oci8=instantclient,/home/nc3/instantclient' '--with-apxs2=/usr/apache2/bin/apxs' '--enable-sigchild' '--with-libxml-dir=/opt/csw' '--with-config-file=/etc/apache2' '--with-zlib' '--enable-ucd-snmp-hack' '--with-snmp=/opt/csw'

CC:         gcc

CFLAGS:     -I/usr/include -g -O2

CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS

CXX:       

CXXFLAGS:  

INCLUDES:    -I/opt/csw/include/libxml2 -I/home/nc3/php-5.1.6/ext/date/lib -I/home/nc3/instantclient/sdk/include -I/opt/csw/include

LDFLAGS:    -L/usr/lib  -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/opt/csw/lib -L/opt/csw/lib -R/home/nc3/instantclient -L/home/nc3/instantclient

LIBS:       -lz -lresolv -lm -lnsl -lsocket  -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lclntsh -lxml2 -lz -lm -lsocket -lnsl -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm -lnsl -lsocket -ladm -lwrap

DLIBS:     

SAPI:       apache2handler

PHP_RPATHS:  /usr/ucblib /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 /opt/csw/lib /home/nc3/instantclient

uname -a:   SunOS unknown 5.10 Generic sun4u sparc SUNW,Sun-Blade-100

 

gcc -o conftest -I/usr/include -g -O2  -D_POSIX_PTHREAD_SEMANTICS -L/usr/lib  -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/opt/csw/lib -L/opt/csw/lib -R/home/nc3/instantclient -L/home/nc3/instantclient conftest.c -lz -lresolv -lm -lnsl -lsocket  -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lclntsh -lxml2 -lz -lm -lsocket -lnsl -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm -lnsl -lsocket -ladm -lwrap 1>&5

ld.so.1: ./conftest: fatal: libnnz10.so: open failed: No such file or directory

 

####### End: Output from PHP debug.log #############

 

 

 

 


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux