My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2022

Applies to:

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


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


Installed Oracle 11g 64 bit Server and Oracle 11g 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/ could not be loaded.
0509-103 The module has an invalid magic number.

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


To view full details, sign in with your My Oracle Support account.

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

In this Document
 *** Case 1: To demonstrate or to reproduce issue ***
 *** Case 2: Oracle 11g Client using 32 bit libraries and 32 bit $ORACLE_HOME: ***
 *** Case 3: Successful Connection - SQLNET Settings: ***

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.