Database Utilities Fail with WRONG ELF Class error

Document ID : KB000104994
Last Modified Date : 06/07/2018
Show Technical Document Details
Issue:
When running database utilities (such as DB Load), it does not complete and provides the following error:

U00038091 Change application directory to '/home/pveol8/3rdparty/AutomicDRP/Utility/bin/'.
U00029120 UCUDB: Function LoadLibrary failed. Library 'ucuoci.so' error 'libclntsh.so.11.1: wrong ELF class: ELFCLASS32'.
U00003531 UCUDB: Error while checking data source (e.g. code conversion or driver problem, see log file).
Environment:
Unix/Linux Operating system.
Cause:
Investigation: 

1) Perform the following:

ldd on ucuoci.so 

Ensure that libclntsh.so.11.1 exists/has a path. If it cannot be found, the following may help:

locate libclntsh

2) Ensure this path exists in the LD_LIBRARY_PATH environment variable (check via "env" command). 

**3) Ensure that the Oracle 64-bit Client is being utilized. 
Resolution:
Utilize the Oracle 64-bit client instead of the 32-bit client.