Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

libclntsh.so not loaded: libclntsh.so: wrong ELF class: ELFCLASS64

795721Sep 3 2010 — edited Sep 19 2012
Hello,

I've an oracle 11gr2 linux x86-64 bits box here which is working ok. We are using Netbackup 6.5 32 bits edition and when Veritas tries to connect to the oracle db it gives :

libclntsh.so not loaded: libclntsh.so: wrong ELF class: ELFCLASS64

Basically this means that i need to install the 32 bits client ("Oracle Database 11g Release 2 Client (11.2.0.1.0) for Linux x86") next to the 64 bits current installed db home to get the 32 bits linclntsh.so

At the client installation time, the installer asks for a new ORACLE_HOME. I've therefore added that new ORACLE_HOME sitting next to the db. Now i see the required file but how can i redirect the dynamic linker (aka ld) to load that 32 bits lib (IMHO the LD_LIBRARY_PATH cannot be set coexisting both worlds) ? Normally you have a subdir called "lib" for 64 bits libs and "lib32" for 32 bits libs. Do i need to handle that manually ?

In general what is the best practice coexisting the 32 bits libs next the 64 bits libs.

Thanks, Bye
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2012
Added on Sep 3 2010
2 comments
1,523 views