> I'm really struggling configuring the php mod with oracle 8i support on
> Solaris 8.
>
> ./configure --enable-track-vars --with-o8ci=/export/home/oracle
> --with-oracle --enable-sigchild --with-apxs
>
> The ORACLE_HOME is set to /export/home/oracle.
>
> I am getting an error:
>
> checking Oracle Install-Dir...
> +--------------------------------------------------------------------+
> | Notice:                                                            |
> | If you encounter <defunc> processes when using a local Oracle-DB   |
> | please recompile PHP and specify --enable-sigchild when configuring|
> | (This problem has been reported un Linux using Oracle >= 8.1.5)    |
> +--------------------------------------------------------------------+
> checking Oracle version... configure: error: Oracle needed libraries not
found
>
> I installed the oracle 8i client prior to compiling. I've installed all
> the compilers, Please God, WHAT HAVE I DONE WRONG.....  If anyone out
> there can help this poor wrech of a man. Please help me......

Richard,

Below is a copy of my reply to someone else on this topic from last June (so
I'm not entirely sure the -lpthread part still applies). It sounds like the
error message might be related to the LD_LIBRARY_PATH envoronment setting.
Alternatively, I think you can edit /etc/ld.so.conf to add a line pointing
to your $ORACLE_HOME/lib, and then run ldconfig.

Hope this helps,

Joe

<old email>
I had a similar problem which took two actions to solve it. First, recompile
apache after adding
    "-lpthread" (without the quotes)
to the LIBS1 line in the makefile. Apparently this is related to a known
glibc bug and the fact that the oracle client library is threaded.
Alternatively you can add
    "LIBS=-lpthread \" (no quotes)
just before OPTIM="$RPM_OPT_FLAGS" \ in the apache.spec file if you want to
work from an RPM source file (this is what I did).

The second thing to check is that you have LD_LIBRARY_PATH=$ORACLE_HOME/lib
defined in your environment.

Hope this helps.

Joe
</old email>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to