Hi Tamer,
Hmm...Just curious....
Assume I have the "--with-libdir" option..... Will adding
"with-libdir=/home/nc3/instantclient" in the "./configure" script causes
OTHER library to fail?
Coz' from what I know, if I didn't specify "--with-libdir=" option, it
will default to the "/lib" directory for the library files. Am I right?
Thanks..
-----Original Message-----
From: Tamer Higazi [mailto:tameritoke2@xxxxxxxx]
Sent: Friday, November 24, 2006 6:20 PM
To: php-install@xxxxxxxxxxxxx
Subject: Re: Problem installing PHP; Oracle Instant Client
10.2;Solaris v10 (libnnz10.so not found)
Hi Way Yew!
Never copy libraries. Otherwise the configure script ask for other
dependencies which he wouldn't find. Copying is never the sollution,
however I never solved the problem that way.
./configure --help | less
should tell you paged what "--with--xxx" options are available.
The 3rd option, if nothing would work after running the configure
script, without a sollution, is to edit the Makefile itself.
Tamer
Choy, Wai Yew schrieb:
> Hi Tamer,
>
> Thanks....... So the --with-libdir should point to where the file "
> libnnz10.so" located?
>
> Ie. --with-libdir=/home/nc3/instantclient
>
> 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@xxxxxxxx]
> Sent: Thursday, 23 November 2006 5:48 PM
> To: php-install@xxxxxxxxxxxxx
> Subject: Re: 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
> the configure script!
> 2) try "--with-libdir" or --libdir option!
> 3) If the error is still the same... please edit the "Makefile" and
add
> the library path by hand.
>
> and always use the latest version. The latest versions will always
have
> not new features also a huge numbers of bugfixes you and me don't like
> to run over again.
>
>
> Tamer
>
> Choy, Wai Yew wrote:
>
>
>> 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]