DBCA, NETCA and DBUA Fail With Error: "UnsatisfiedLinkError exception loading native library ..." (Doc ID 395891.1)

Last updated on MARCH 23, 2016

Applies to:

Net Configuration Assistant - NetCA - Version 9.2.0.1.0 to 10.2.0.2.0 [Release 9.2 to 10.2]
Oracle Database Configuration Assistant - Version 9.2.0.1 to 10.2.0.2 [Release 9.2 to 10.2]
HP-UX PA-RISC (64-bit)
Add ***Checked for relevance on 29-Jul-2013***

Found in 10.2.0.1, but the problem can affect other Oracle versions


Symptoms

The Database Configuration Assistant (DBCA) and Network Configuration Assistant (NETCA) can fail with the following errors:

UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)

In this case DBCA and NETCA failed to load library libnjni10.sl

The generic error is:

UnsatisfiedLinkError exception loading native library: <library name>
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
:

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