Tsirsuna
Tsirsuna

Reputation: 150

cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library UBUNTU

Hi i got this probleme : cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "/app/oracle/product/10.2.0/server/lib/libclntsh.so: cannot open shared object file: No such file or directory". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help i searched and tried multiple fixes but none seemed to work i checked multiple time my oracle installation and it's x64 i've setup the correct path with ldconfig and all but it's still not working and i don't know why i can't figure out what's the problem. ( i'm a total beginner )

Upvotes: 0

Views: 7515

Answers (1)

user123664
user123664

Reputation:

Make sure that your environment variable ORACLE_HOME point to an Oracle installation: in your case:

export ORACLE_HOME=/oracle/product/10.2.0/server

and correct to unset LD_LIBRARY_PATH. Oracle by default searches in $ORACLE_HOME/lib for the libraries.

Upvotes: 1

Related Questions