Re: compiling with oracle

From: Date: Sat, 15 Jul 2000 20:28:26 +0000
Subject: Re: compiling with oracle
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6775@lists.php.net to get a copy of this message
Make sure you have oci.h on your system. It should be $ORACLE_HOME some where. If you didn't install the fullblown install of Oracle, that file wont be there. Rasmus Lerdorf wrote: > 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 (#6775) next »