Click to See Complete Forum and Search --> : installing php4 with oracle and netscape


Anon
10-26-2001, 03:06 PM
I am trying to install php on my solaris box to run with netscape webserver and orale database (on a remote machine).
I installed oracle client 8.1.7 on my machine. I run the configure command for php. following is the command I run: ./configure --with-oci8=(set to my oracle client home)--enable-sigchild --with-snapi=(my netscape server directory) --enable-libgcc

this runs fine but I get error when I try the make command. Here's the error message:

ld:fatal: Symbol referencing errors. No output written to php
collect2:ld returned 1 exit status ***Error code 1
make: fatal error: command failed for target 'php'
Current working directory /usr/local/php-4.0.5 ***Error core 1
make: fatal error: Command failed for target 'all-recursive'


I searched the internet and I found other people are faving problem for "make" command on php but I did not see any solution for it.

could you please let me know What should I do!?

Thanks,

Anon
10-28-2001, 02:32 PM
What version of GCC are you using (if you are using GCC, that is!)? Is it the package from sunfreeware?

Jon

Anon
10-31-2001, 05:25 PM
I am using gcc 2.95.3 I downloaded it from sunFreeware.

Anon
10-31-2001, 05:56 PM
This time I tried to run configure command usign only Netscape parameter. So I typed:
./configure --with-nsapi="my netscape root directory" --enable-libgcc --enable-track-vars
It runs fine (as usuall), but when I run the make command or the "make install" command I get the following messages at the end of runtime:

Making all in ext
Making all in mysql
:
:
Making all in sapi
:
:
Making all in .
:
ld: fatal: library -lclntsh:not found
ld:fatal: file processing errors. no output written to .libs/libphph4.so *** Error code 1
:
:
make: fatal error: command failed for target 'all recursive'
It looks like there is some kind of problem with LD but I don't know what is it that I need to do.
I find couple of libclntsh.so's in oracle client directory.

Any ideas?