Re: compiling with oracle
| From: | Rasmus Lerdorf | Date: | Sat, 15 Jul 2000 19:52:46 +0000 |
| Subject: | Re: compiling with oracle | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6768@lists.php.net to get a copy of this message | ||
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
>
>
>