-
Notifications
You must be signed in to change notification settings - Fork 91
Description
-->
- What versions are you using?
oracledb version 1.4.1
-
Is it an error or a hang or a crash?
error -
What error(s) or behavior you are seeing?
Traceback (most recent call last):
File "/application/INFA/server/infa_shared/Scripts/test.py", line 76, in
table_names = get_list_tables(schema_name) # Add more table names as needed
File "/application/INFA/server/infa_shared/Scripts/test.py", line 63, in get_list_tables
oracledb.init_oracle_client('/u01/oracle/product/12.0.1/client_64/lib')
File "src/oracledb/impl/thick/utils.pyx", line 476, in oracledb.thick_impl.init_oracle_client
File "src/oracledb/impl/thick/utils.pyx", line 500, in oracledb.thick_impl.init_oracle_client
File "src/oracledb/impl/thick/utils.pyx", line 421, in oracledb.thick_impl._raise_from_info
oracledb.exceptions.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "/u01/oracle/product/12.0.1/client_64/lib/libclntsh.so: cannot open shared object file: No such file or directory". See https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html for help
- Does your application call init_oracle_client()?
yes
- Include a runnable Python script that shows the problem.
oracledb.init_oracle_client('u01/oracle/product/12.0.1/client_64/lib')
Running the code in linux system. Not able to figure out the solution. Please do need the helpful