简体   繁体   中英

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 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 )

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM