Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ImportError: libclntsh.so.10.1: cannot open shared object file: No such file or directory

e9bec1c0-f8cb-4104-8a31-a40991ee5bb9Feb 3 2015 — edited Feb 4 2015

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details