My Oracle Support Banner

libocijdbc11.so: wrong ELF class: ELFCLASS64 ELFCLASS32 (Doc ID 301956.1)

Last updated on MARCH 02, 2021

Applies to:

JDBC - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

This note explains the reason for the following error messages:

java.lang.UnsatisfiedLinkError: libocijdbc11.so: wrong ELF class: ELFCLASS32
java.lang.UnsatisfiedLinkError: libocijdbc11.so: wrong ELF class: ELFCLASS64


Example:

 

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.