Bug #17757: Php compile generate error:/usr/bin/ld:cannot find -lclntsh
| From: | Palvin at 163 dot com | Date: | Fri, 14 Jun 2002 06:02:58 +0000 |
| Subject: | Bug #17757: Php compile generate error:/usr/bin/ld:cannot find -lclntsh | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-10423@lists.php.net to get a copy of this message | ||
From: Palvin@163.com
Operating system: RedHat 7.3+Oracle 8i/9i
PHP version: 4.2.1
PHP Bug Type: OCI8 related
Bug description: Php compile generate error:/usr/bin/ld:cannot find -lclntsh
I've install RedHat 7.3+Oracle 8i/9i and want install php4.2.1, I set
--with-oci8=$ORACLE_HOME and do ./config without any error, but when I run
make command, it generate a error and stop compile.
Error info is below:
/usr/bin/ld:cannot find -lclntsh
collect2:ld returned 1 exit status
make[1]:*** [libphp4.la] Error 1
make[1]:leaving directory '/opt/php-4.2.1'
make:*** [all-recursive] Error1.
But when I strip the parameter --with-oci8, all step is normal and install
is OK.
--
Edit bug report at http://bugs.php.net/?id=17757&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17757&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17757&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17757&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17757&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17757&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17757&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17757&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17757&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17757&r=globals