installing cx_Oracle.

Carl K carl at personnelware.com
Thu May 24 10:07:07 EDT 2007


Getting closer, thanks Bill and Diez.

$ export ORACLE_HOME
$ ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client
$ python setup.py build
$ sudo python setup.py install

$ python -c "import cx_Oracle"
Traceback (most recent call last):
   File "<string>", line 1, in ?
ImportError: libclntsh.so.10.1: cannot open shared object file: No such file or 
directory

guessing I need to add
/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/
to some path?

btw - anyone know of a .deb that will install this?

Carl K



More information about the Python-list mailing list