#17757 [Com]: Php compile generate error:/usr/bin/ld:cannot find -lclntsh

From: Date: Tue, 10 Aug 2004 09:56:53 +0000
Subject: #17757 [Com]: Php compile generate error:/usr/bin/ld:cannot find -lclntsh
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64355@lists.php.net to get a copy of this message
ID: 17757 Comment by: tomanojchawla at yahoo dot com Reported By: Palvin at 163 dot com Status: Bogus Bug Type: OCI8 related Operating System: RedHat 7.3+Oracle 8i/9i PHP Version: 4.2.1 New Comment: i m using redhat pclinux 2.4.21-4.EL Error info is below: /usr/bin/ld:cannot find -lclntsh How can we install this file Previous Comments: ------------------------------------------------------------------------ [2002-06-19 21:13:42] sniper@php.net Obviously some problem with RH 7.3 then. Try contacting the RH support? This really isn't bug in PHP so I'm closing this now. ------------------------------------------------------------------------ [2002-06-19 20:38:13] Palvin at 163 dot com Thank you for your help, I build PHP with oracle support all the time (on RH 7.1) without any problems too, but on RH 7.3 it can't successfullness, let's wait next version. ------------------------------------------------------------------------ [2002-06-19 20:20:23] sniper@php.net You never answered whether or not you have the path to the oracle libraries in your /etc/ld.so.conf Check that and add the path if it's missing. It should be $ORACLE_HOME/lib Then untar fresh sources from the snapshot tar.gz, and try with this configure line: ./configure --with-oci8 (if your $ORACLE_HOME environment variable is set correctly, you don't need to pass it in the configure) I build PHP with oracle support all the time (on RH 6.2) without any problems, so I don't think this is any bug. --Jani ------------------------------------------------------------------------ [2002-06-19 19:56:47] Palvin at 163 dot com Sorry, I've tried many times and can't successfulness! I hope next version will resolve the problem. ------------------------------------------------------------------------ [2002-06-18 21:23:05] sniper@php.net Try dropping that last option out (--with-oracle) as the oci8 is the one you should be using anyway.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17757 -- Edit this bug report at http://bugs.php.net/?id=17757&edit=1

« previous php.bugs (#64355) next »