Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can't start lsnrctl
FM wrote:
>
> It seems your ORACLE_HOME _is_ /usr/local/oracle/product/10.1.0
> Are you sure you are not confusing users or variables?
>
Forget about this.
From a poster on OTN I found somebody who messed with php and two
installation of oracle. He compiled PHP with the OCI header but it could
be useful for your issue as well.
He copied libclntsh.so.10.1, libnnz10.so and libociei.so form the second
installation to the first one (so from your client installation to
$ORACLE_HOME/lib).
Set LD_LIBRARY_PATH of the oracle user to $ORACLE_HOME/lib and delete
the usual entry in ld.so.conf (and run ldconfig).
Then try again.
Instead of a copy I believe you can simply create three soft links.
Unfortunately I can't test anything from here. I'll have to connect to
the office... I'll try everything tomorrow.
And here another quotation:
"For PHP you only need libociei.so, libnnz10.so and libclnts.so.10.1
from the Instant Client package. If re-compiling won't be needed, you
can copy these libs to a directory of your choice and deinstall Oracle
to save disk space."
Bet libclnts.so.10.1 was libclntsh.so.10.1
Let me know if it helps...
-- Fabrizio Magni fabrizio.magni_at_mycontinent.com replace mycontinent with europeReceived on Fri Jun 18 2004 - 15:05:39 CDT