Compiling cx_Oracle and LD_LIBRARY_PATH
Brian Cole
brianc at temple.edu
Sat Jan 21 16:58:00 EST 2006
I can compile and install cx_Oracle fine by following the manta:
export ORACLE_HOME=...
python setup.py install
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
python
>>> import cx_Oracle
My issue is the LD_LIBRARY_PATH. Is there a way to compile cx_Oracle,
or any Python extension for that matter so that it's not required to
set LD_LIBRARY_PATH? Is there a way I can make distutils do this for
me?
Thanks,
Brian Cole
More information about the Python-list
mailing list