[cx-oracle-users] cx_Oracle import problems
Brought to you by:
atuining
From: <fel...@ba...> - 2005-09-08 11:42:22
|
Dear all, I use Python 2.4, Oracle 9.2.0 Client and installed cx_Oracle-4.1-9i-py24-1.i386.rpm on RedHat 9. [phulf@bycc19] (~): python Python 2.4.1 (#1, Jun 21 2005, 04:34:09) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.path ['', '/usr/local/eclipse_31/eclipse/plugins/org.python.pydev_0.9.8.1/Py= Src', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/local/lib/python2.4/site-packages', '/u01/apps/oracle/9.2.0/lib',= '/usr/lib/python24.zip', '/usr/lib/python2.4/lib-tk'] >>> import cx_Oracle Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: libclntsh.so.9.0: cannot open shared object file: No such = file or directory >>> [phulf@bycc19] (~): ll `echo $PYTHONPATH | sed 's/:/ /g'` | grep libclntsh.so.9.0 -rwxr-xr-x 1 root root 11529427 Sep 6 15:54 libclntsh.so.9.= 0 --------------------------------------------------------------- I also tried it on my windows XP Professional host: oracle 10.2.0 client, tested. Python 2.4 cx_Oracle-4.1-win32-10g-py24.exe Error: Der Prozedureinsprungpunkt "OCINlsNumericInfoGet" wurde in der DLL "OC= I.dll" nicht gefunden. (Pocedurecall "OCINlsNumericInfoGet" was not found in "OCI.dll") Mit freundlichen Gr=FC=DFen / Best Regards Felix Uellendahl = |