| Choy, Wai Yew 2006-11-23, 9:57 pm |
| Hi Tamer,
Thanks....... So the --with-libdir should point to where the file "
libnnz10.so" located?
Ie. --with-libdir=3D/home/nc3/instantclient=20
Or should I copy the file "libnnz10.so" to the default lib directory? In
this case, where is the default lib directory??
Thanks..
-----Original Message-----
From: Tamer Higazi [mailto:tameritoke2@arcor.de]=20
Sent: Thursday, 23 November 2006 5:48 PM
To: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] Problem installing PHP; Oracle Instant Client
10.2;Solaris v10 (libnnz10.so not found)
Hi Way Yew,
1) As you can see, you didn't include the lib directory of PHP 5.2.0 in=20
the configure script!
2) try "--with-libdir" or --libdir option!
3) If the error is still the same... please edit the "Makefile" and add=20
the library path by hand.
and always use the latest version. The latest versions will always have=20
not new features also a huge numbers of bugfixes you and me don't like=20
to run over again.
Tamer
Choy, Wai Yew wrote:
> Hi guru,
>
> I really stuck installing PHP with Oracle Instant Client 10.2 onto a=20
> 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=20
> directory "/home/nc3/instantclient"...
>
> When I do a "./configure xxx" (see the debug.log for the parameters I=20
> set), it went well till the last portion....It gives an error of=20
> "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=20
> "libnnz10.so" is inside......Can I know where am I missing? How come
PHP=20
> 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'=20
> '--with-oci8=3Dinstantclient,/home/nc3/instantclient'=20
> '--with-apxs2=3D/usr/apache2/bin/apxs' '--enable-sigchild'=20
> '--with-libxml-dir=3D/opt/csw' '--with-config-file=3D/etc/apache2'=20
> '--with-zlib' '--enable-ucd-snmp-hack' '--with-snmp=3D/opt/csw'
>
> CC: gcc
>
> CFLAGS: -I/usr/include -g -O2
>
> CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
>
> CXX:
>
> CXXFLAGS:
>
> INCLUDES: -I/opt/csw/include/libxml2=20
> -I/home/nc3/php-5.1.6/ext/date/lib=20
> -I/home/nc3/instantclient/sdk/include -I/opt/csw/include
>
> LDFLAGS: -L/usr/lib -R/usr/ucblib -L/usr/ucblib=20
> -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3=20
> -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/opt/csw/lib=20
> -L/opt/csw/lib -R/home/nc3/instantclient -L/home/nc3/instantclient
>
> LIBS: -lz -lresolv -lm -lnsl -lsocket -lgcc -lxml2 -lz -lm -lsocket=20
> -lnsl -lxml2 -lz -lm -lsocket -lnsl -lclntsh -lxml2 -lz -lm -lsocket=20
> -lnsl -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm -lnsl -lsocket -ladm=20
> -lwrap
>
> DLIBS:
>
> SAPI: apache2handler
>
> PHP_RPATHS: /usr/ucblib /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3=20
> /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=20
> -L/usr/lib -R/usr/ucblib -L/usr/ucblib=20
> -R/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3=20
> -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -R/opt/csw/lib=20
> -L/opt/csw/lib -R/home/nc3/instantclient -L/home/nc3/instantclient=20
> conftest.c -lz -lresolv -lm -lnsl -lsocket -lgcc -lxml2 -lz -lm=20
> -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lclntsh -lxml2 -lz -lm=20
> -lsocket -lnsl -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm -lnsl=20
> -lsocket -ladm -lwrap 1>&5
>
> ld.so.1: ./conftest: fatal: libnnz10.so: open failed: No such file or=20
> directory
>
> ####### End: Output from PHP debug.log #############
>
|