Bug #17121 Updated: failed to make with OCI8 for oracle support
| From: | derick@php.net | Date: | Fri, 10 May 2002 10:45:54 +0000 |
| Subject: | Bug #17121 Updated: failed to make with OCI8 for oracle support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7387@lists.php.net to get a copy of this message | ||
ID: 17121
Updated by: derick@php.net
Reported By: ndebeer@mweb.com
Status: Closed
Bug Type: OCI8 related
Operating System: Redhat 7..2 &.7.3
PHP Version: 4.2.0
New Comment:
Is the directory in which this library is listed in /etc/ld.so.conf ?
And did you tun ldconfig?
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-10 06:29:29] ndebeer@mweb.com
here is just a bit more info
lib directory of Oracle_home has been sepcified in ld as an atempt to
make it work I also treid to create ln to libcnlntsh.s0.9***
but still can't find it
here is an extract of the make terminal output
Please help i'm lost now
l/libmysql.la /usr/local/php-4.2.0/ext/oci8/liboci8.la
/usr/local/php-4.2.0/ext/pcre/libpcre.la
/usr/local/php-4.2.0/ext/posix/libposix.la
/usr/local/php-4.2.0/ext/session/libsession.la
/usr/local/php-4.2.0/ext/standard/libstandard.la
/usr/local/php-4.2.0/ext/xml/libxml.la TSRM/libtsrm.la -lc-client -lm
-ldl -lmysqlclient -lcrypt -lgd -lcrypt -lresolv -lm -ldl -lnsl
-lresolv -lcrypt -lclntsh -ldl
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.0'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
[2002-05-10 05:05:08] ndebeer@mweb.com
Ok, so i have oracle client installed but i did not do a administrativr
install
So I did that last night
now we are getting past that problem
What happens now is that it states that ld can't find -lclntsh
what now
I'm just reinstalling maybe i'll get past this
but anay suggestion is welcome
------------------------------------------------------------------------
[2002-05-09 11:49:34] edink@php.net
You need at least Oracle client installed in order to compile PHP. For
more info see http://www.php.net/manual/en/ref.oci8.php
------------------------------------------------------------------------
[2002-05-09 11:19:30] ndebeer@mweb.com
Gee!! you responded quickly
I'm using oracle9i
And no i don't have it on my system
------------------------------------------------------------------------
[2002-05-09 10:57:36] edink@php.net
Which version of Oracle do you have installed?
There shoud be oci.h in /home/oracle/OraHome1/rdbms/demo, if its not
there could you try finding the file under $ORACLE_HOME
(/home/oracle/OraHome1).
------------------------------------------------------------------------
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/17121
--
Edit this bug report at http://bugs.php.net/?id=17121&edit=1