Re: compiling with oracle

From: Date: Sat, 15 Jul 2000 20:11:52 +0000
Subject: Re: compiling with oracle
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6772@lists.php.net to get a copy of this message
Sorry, it is Redhat 6.1. Thanks for your help, I tried that, and now it cant find oci.h. This is odd :) I have set ORACLE_HOME, and also specified the correct directory in the ./configure command, and it just cant find it. My error is as follows : gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/ php-4.0.1pl2 -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/apache_1.3. 12/src/include -I/usr/local/src/apache_1.3.12/src/os/unix -I/usr/local/src/p hp-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2 -I/usr/local/oracle/network/p ublic -I/usr/local/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/local/src/ph p-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c && touch internal_functions.lo In file included from internal_functions.c:38: /usr/local/src/php-4.0.1pl2/ext/oci8/php_oci8.h:56: oci.h: No such file or directory make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.1pl2/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.1pl2/main' make: *** [all-recursive] Error 1 Where should it be looking for oci.h? Sorry about the hassle, Ill get it to compile eventually.... Adam ----- Original Message ----- From: Rasmus Lerdorf <rasmus@php.net> To: Adam Powell <adam@powlex.com> Cc: <php-general@lists.php.net> Sent: Saturday, July 15, 2000 12:52 PM Subject: Re: [PHP] compiling with oracle > Which OS? If Linux, add the dir where the lib is to /etc/ld.so.conf and > run ldconfig > > -Rasmus > > On Sat, 15 Jul 2000, Adam Powell wrote: > > > > > Hi there, Im trying to compile the latest PHP version and it keeps barfing > > on the following line : > > > > > > gcc -o > > conftest -g -O2 -Wl,-rpath,/usr/local/oracle/lib -L/usr/local/oracle/lib > > conftest.c -lclntsh -lm -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 > > /usr/bin/ld: cannot find -lclntsh > > collect2: ld returned 1 exit status > > > > I have put the library everywhere I can think, and it still cant find it... > > I am using 'libclntsh.so.8.0'. > > > > Any ideas why it cant find the library? > > > > Thanks a lot, > > Adam > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#6772) next »