[DB-SIG] DCOracle2 w/ apache + mod_python under rh7.2 ?
Eugene V. Dvurechenski
jno@glasnet.ru
Tue, 9 Jul 2002 11:38:32 +0400
On Mon, Jul 08, 2002 at 04:55:05PM -0700, Praveen Kumar wrote:
> import dco2
>
> ImportError: libclntsh.so.9.0: cannot open shared
> object file: No such file or directory
1) make sure you have set ORACLE_HOME env var.
2) make sure you have set LD_LIBRARY_PATH (to $ORACLE_HOME/lib) env var.
3) make sure that both of them are set _before_ the ecript execution.
the last point is essential - os.environ doesn't help much.
--
SY,
jno (PRIVATE PERSON) [ http://www.glasnet.ru/~jno ]
a TeleRoss techie [ http://www.aviation.ru/ ]
If God meant man to fly, He'd have given him more money.