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:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to