My Oracle Support Banner

12.2 GI: Installation fails with error ‘ld: Mismatched ABI (not an ELF file) for -ljavavm12’ (Doc ID 2466571.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

When installing 12.2 Grid infrastructure failed with below error:ld: Mismatched ABI (not an ELF file) for -ljavavm12, found /grid/app/12.1.0/grid/lib//libjavavm12.a

Installation log reports

INFO:
ld: Mismatched ABI (not an ELF file) for -ljavavm12, found /grid/app/12.1.0/grid/lib//libjavavm12.a
Fatal error.

INFO:

Stop.

INFO:
*** Error exit code 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle' of makefile '/grid/app/12.1.0/grid/rdbms/lib/ins_rdbms.mk'. See '/oracle/app/oraInventory/logs/GridSetupActions2018-10-29_11-23-08AM/gridSetupActions2018-10-29_11-23-08AM.log' for details.
Exception Severity: 1
INFO: [Oct 29, 2018 1:50:39 PM] Adding ExitStatus STOP_INSTALL to the exit status set
INFO: [Oct 29, 2018 1:50:39 PM] Finding the most appropriate exit status for the current application
INFO: [Oct 29, 2018 1:50:39 PM] inventory location is/oracle/app/oraInventory
INFO: [Oct 29, 2018 1:50:39 PM] Finding the most appropriate exit status for the current application
INFO: [Oct 29, 2018 1:50:39 PM] Exit Status is -4
INFO: [Oct 29, 2018 1:50:39 PM] Shutdown Oracle Grid Infrastructure 12c Release 2 Installer
INFO: [Oct 29, 2018 1:50:39 PM] Unloading Setup Driver

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!


In this Document
Symptoms
Cause
Solution
References


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