Application gets "wrong ELF class: ELFCLASS64" attempting to dlopen() 11.2 client shared library libclntsh.so (Doc ID 1366168.1)

Last updated on APRIL 04, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

After installing Oracle client 11.2.0.2 64-bit on zLinux(64-bit, s390x), user application (CAI/PT) gets "dlopen" error (ELFCLASS64):

0 [CAI/PT][ODBC Oracle Dynamic driver]Internal Error: ptOraDynlibInit() failed, returned -1
ptOraDynlibLastError() returned "dlopen("/opt/app/oracle/product/11.2.0/client_1/lib/libclntsh.so",0X00000002) failed,
"/opt/app/oracle/product/11.2.0/client_1/lib/libclntsh.so: wrong ELF class: ELFCLASS64""

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms