php-general | 2000071
Date: 07/15/00
- Next message: Matt McClanahan: "Re: [PHP] Whois Script with a twist"
- Previous message: Vispa Admin: "[PHP] Whois Script with a twist"
- In reply to: Rasmus Lerdorf: "Re: [PHP] compiling with oracle"
- Next in thread: Keith Vance: "Re: [PHP] compiling with oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sorry, it is Redhat 6.1. Thanks for your help, I tried that, and now it
cant find oci.h. This is odd :) I have set ORACLE_HOME, and also specified
the correct directory in the ./configure command, and it just cant find it.
My error is as follows :
gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/
php-4.0.1pl2 -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/apache_1.3.
12/src/include -I/usr/local/src/apache_1.3.12/src/os/unix -I/usr/local/src/p
hp-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2 -I/usr/local/oracle/network/p
ublic -I/usr/local/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/local/src/ph
p-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c
internal_functions.c && touch internal_functions.lo
In file included from internal_functions.c:38:
/usr/local/src/php-4.0.1pl2/ext/oci8/php_oci8.h:56: oci.h: No such file or
directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.1pl2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.1pl2/main'
make: *** [all-recursive] Error 1
Where should it be looking for oci.h? Sorry about the hassle, Ill get it to
compile eventually....
Adam
----- Original Message -----
From: Rasmus Lerdorf <rasmus <email protected>>
To: Adam Powell <adam <email protected>>
Cc: <php-general <email protected>>
Sent: Saturday, July 15, 2000 12:52 PM
Subject: Re: [PHP] compiling with oracle
> Which OS? If Linux, add the dir where the lib is to /etc/ld.so.conf and
> run ldconfig
>
> -Rasmus
>
> On Sat, 15 Jul 2000, Adam Powell wrote:
>
> >
> > Hi there, Im trying to compile the latest PHP version and it keeps
barfing
> > on the following line :
> >
> >
> > gcc -o
> >
conftest -g -O2 -Wl,-rpath,/usr/local/oracle/lib -L/usr/local/oracle/lib
> > conftest.c -lclntsh -lm -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
1>&5
> > /usr/bin/ld: cannot find -lclntsh
> > collect2: ld returned 1 exit status
> >
> > I have put the library everywhere I can think, and it still cant find
it...
> > I am using 'libclntsh.so.8.0'.
> >
> > Any ideas why it cant find the library?
> >
> > Thanks a lot,
> > Adam
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matt McClanahan: "Re: [PHP] Whois Script with a twist"
- Previous message: Vispa Admin: "[PHP] Whois Script with a twist"
- In reply to: Rasmus Lerdorf: "Re: [PHP] compiling with oracle"
- Next in thread: Keith Vance: "Re: [PHP] compiling with oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

