My Oracle Support Banner

While Installing Oracle Database on Linux x86-64 Linking Errors Occur and NetCA/DBCA Fail with Error: "UnsatisfiedLinkError exception loading native library: njni10" (Doc ID 308788.1)

Last updated on FEBRUARY 13, 2023

Applies to:

Oracle Database - Standard Edition - Version to [Release 10.1 to 11.1]
Oracle Database - Enterprise Edition - Version to [Release 10.1 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Linux x86-64

***Checked for relevance on 24-SEP-2015***


While installing Oracle Database Server on a SuSE SLESx x86-64 server, the following linking errors occur:

Error in invoking target "all_no_orcl" of makefile $ORACLE_HOME/rdbms/lib/

and from the $ORACLE_HOME/install/make.log  more details of the link error:

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find /usr/lib/libc_nonshared.a

$ORACLE_HOME/bin/genagtsh $ORACLE_HOME/lib/ 1.0
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find /usr/lib/libc_nonshared.a

gcc -o $ORACLE_HOME/sysman/lib/ ....
$ORACLE_HOME/lib32// file not recognized: File truncated

gcc -m32 -o $ORACLE_HOME/rdbms/lib/extproc32 ....
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
$ORACLE_HOME/lib/ when searching for -lagtsh
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lagtsh

At the end of the installation, NetCA and DBCA fail to start with the following Java exception:

UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: jniGetOracleHome
at Method)
at Source)
at<init>(Unknown Source)
at Source)
at<init>(Unknown Source)
at<init>(Unknown Source)
at Source)

NOTE: Similar errors can occur on any Linux x86-64 server but this note was created after a customer reported the errors on SuSE SLES x86-64


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

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