ID: 17121 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: OCI8 related Operating System: Redhat 7..2 &.7.3 PHP Version: 4.2.0 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-05-10 05:05:08] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Gee!! you responded quickly I'm using oracle9i And no i don't have it on my system ------------------------------------------------------------------------ [2002-05-09 10:57:36] [EMAIL PROTECTED] 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). ------------------------------------------------------------------------ [2002-05-09 10:48:45] [EMAIL PROTECTED] Hi there we have tried with both Redhat 7.2 and 7.3 and php 4.1.1 and 4.2.0 I extracted the sorce to /usr/local/php4.2.0/ When doing a config(actualy config.nice) all works fine below my config.nice #! /bin/sh # # Created by configure './configure' \ '--with-apxs2=/usr/local/apache/bin/apxs' \ '--with-config-file-path=/usr/local/apache/conf' \ '--enable-versioning' \ '--with-mysql=/usr/local' \ '--enable-ftp' \ '--with-imap=/usr/local' \ '--with-gd=/usr/local/gd1.3' \ '--enable-bcmath' \ '--disable-debug' \ '--enable-memory-limit=yes' \ '--enable-track-vars' \ '--with-oci8=/home/oracle/OraHome1' \ "$@" when doing a make I get a failure in the php_oci8.h file Below is the last few lines of the terminal output I can't find anything that tels me what is going wrong everything looks right and in place please,,please can you help -I/usr/local/gd1.3/ -I/usr/local/include -I/usr/local/include/mysql -I/home/oracle/OraHome1/rdbms/demo -I/home/oracle/OraHome1/plsql/public -I/usr/local/php-4.2.0/ext/xml/expat -D_REENTRANT -I/usr/local/php-4.2.0/TSRM -g -O2 -pthread -DZTS -prefer-pic -c internal_functions.c In file included from internal_functions.c:38: /usr/local/php-4.2.0/ext/oci8/php_oci8.h:52:17: oci.h: No such file or directorymake[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/php-4.2.0/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.0/main' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17121&edit=1
