Hi all,
I have installed cx-oracle_5.0.4 in ubuntu using oracle-instantclient-basic_10.2.0.5 and Python2.7. And i can import cx_Oracle from terminal and Python Integrated Development Environment (IDLE ) if the IDLE open from terminal. If IDLE open from directory or using Eclipse to import cx_Oracle i got this error : "ImportError: libclntsh.so.10.1: cannot open shared object file: No such file or directory".
I am using : Python 2.7
cx-oracle_5.0.4
oracle-instantclient-basic_10.2.0.5
And set this,
export ORACLE_HOME=/usr/lib/oracle/10.2.0.5/client
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
in .profile, .bashrc, /etc/environment files.
Please help me..Thnks.