Adautocfg.sh Fails With Error "libnjni12.so: wrong ELF class: ELFCLASS64"
(Doc ID 2493958.1)
Last updated on JULY 29, 2024
Applies to:
Oracle Applications DBA - Version 12.2.7 to 12.2.7 [Release 12.2]Information in this document applies to any platform.
Symptoms
On : 12.2.7 version, AD UTILITIES
Autoconfig on the database is failing with the following error:
ERROR
-----------------------
UnsatisfiedLinkError exception loading native library: njni12
java.lang.UnsatisfiedLinkError: /.../.../.../db/tech_st/12.1.0/lib/libnjni12.so: /.../.../.../db/tech_st/12.1.0/lib/libnjni12.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
-----------------------
UnsatisfiedLinkError exception loading native library: njni12
java.lang.UnsatisfiedLinkError: /.../.../.../db/tech_st/12.1.0/lib/libnjni12.so: /.../.../.../db/tech_st/12.1.0/lib/libnjni12.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
$ $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/adautocfg.sh
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 |