Cx_oracle Importerror Libpython2.6.so.1.0

Install cx_Oracle, Oracle 10g Instant Client and Python 2.6 … – This will generate libpython2.6.so.1.0. $ ./configure -enable-shared $ make $ sudo make altinstall Download Oracle … on linux2 Type “help”, “copyright”, “credits” or “license” for more information. >>> import cx_Oracle >>> db = cx_Oracle.connect(‘username’, ‘pwssword’, ‘ip …

error loading libpython2.6.so.1.0 – Google Groups – Error loading Python lib ‘./libpython2.6.so.1.0′: ./libpython2.6.so.1.0: cannot open shared object file: No such file or directory. … ImportError: No module named struct. Traceback (most recent call last): File ” “, line 25, in

Discussion of the cx_Oracle Python interface to Oracle () – —> Package cx_Oracle.x86_64 0:5.1.2-1 will be installed … libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1. (0x00002b9fc7393000) … : libclntsh.so.11.1: cannot open shared object file: No such file or directory

python – Issue building cx_Oracle – libclntsh.so.11.1 => not … – I’m trying to build cx_Oracle for a Python 2.7.2 and Oracle 11g installation but the built cx_Oracle.so cannot find libclntsh.so.11.1 so importing cx_Oracle in Python fails.

… libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1. … undefined : libclntsh.so.11.1: cannot … transaction check > > —> Package cx_Oracle.x86_64 0:5.1.2-1 will be installed > > –> Finished Dependency Resolution …

… cx_Oracle.so: cannot open shared object file: Permission denied. Python Forums on Bytes. … ImportError: cx_Oracle.so: cannot open shared object file: Permission denied. P: … libpython2.3.so.1.0: …

> import cx_Oracle >ImportError: libclntsh.so.10.1: cannot open shared object file: >Permission denied > > > Did you check the permissions of libclntsh.so.*? >How can I … ImportError: libclntsh.so.9.0: cannot open shared object file: …

Then I’ve downloaded cx_Oracle-5..2-10g-py26-1.i386.rpm and installed it. $sudo alien -i cx_Oracle-5..2-10g-py26-1.i386.rpm When I run $python -c ‘import cx_Oracle’ I get: Traceback (most recent call last): File ” “, line 1, in ImportError: /usr/lib/python2.6/cx_Oracle.so: …

I could run no problem from Unix shell but I got error from import cx_Oracle “libclntsh.so.11.1: … libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1. (0x00002b9fc7393000) … Python 2.6.6: /usr/bin/python

Rating for directorycomputing.com: 4.5 out of 5 stars from 56 ratings.