Oracle 11g 11.2 Based 32 Bit Applications Gets Invalid Magic Number On libskgxp11.so (Doc ID 1291288.1)

Last updated on JULY 07, 2017

Applies to:

Precompilers - Version 11.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 28th Mar 2016***

Symptoms

Oracle 11g 11.2.0.1 32 bit application does not work with the 32 bit libskgxp11.so file, but works with the 64 bit libskgxp11.so file instead.

Changes

Installed Oracle 11g 11.2.0.1 64 bit Server and Oracle 11g 11.2.0.1 32 bit Client on the same AIX box and as separate $ORACLE_HOME, since application needs to bind with the 32 bit libraries.

However, when 32 bit based applications were run, it gave the following error message:

exec(): 0509-036 Cannot load program oraclemarchz40 because of the following errors:
0509-150 Dependent module /oracle/app/oracle/112/lib32/libskgxp11.so could not be loaded.
0509-103 The module has an invalid magic number.

If copying the libskgxp11.so from the 64 bit Oracle 11g 11.2.0.1 $ORACLE_HOME under the server installation to the 32 bit $ORACLE_HOME Oracle 11g 11.2.0.1 Client directory makes the same application to work successfully. i.e. , Replacing 32 bit libskgxp11.so with that of 64 bit libskgxp11.so works.

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