I would like to be able to connect to Oracle 10.1.0.2.0 (which is installed on different machine) via python.
My comp is running on Ubuntu 9.04 Jaunty with Python 2.6 installed.
I have downloaded and unpacked instantclient-basic-linux32-10.1.0.5-20060511.zip
, set LD_LIBRARY_PATH
and ORACLE_HOME
to point to the directory where I unpacked it.
Then I've downloaded cx_Oracle-5.0.2-10g-py26-1.i386.rpm
and installed it:
$sudo alien -i cx_Oracle-5.0.2-10g-py26-1.i386.rpm
When I run
$python -c 'import cx_Oracle'
I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.6/cx_Oracle.so: undefined symbol: OCIClientVersion
Help would be very appreciated.