java.lang.UnsatisfiedLinkError Running Opatch Command (Doc ID 1410298.1)

Last updated on JUNE 19, 2016

Applies to:

Identity Manager - Version 11.1.1.5.0 and later
Oracle Weblogic Server - Version 10.3.3 and later
Information in this document applies to any platform.
**Checked For Relevance on 02-Aug-2013**

Symptoms

While running opatch command for example for upgrading OIM 11.1.1.5.0 to BP01 or BP02, the following error might occur.

This occurs when opatch lsinventory or opatch apply commands are run.

Windows:

java.lang.UnsatisfiedLinkError: Can't find library: C:/Oracle/Middleware/Oracle_OIM/oui/win32/oraInstaller.dll
at java.lang.ClassLoader.loadLibrary(classLoader.java.1705)
at java.lang.Runtime.load0(Runtime.java:770)
..
Opatch failed with error code = 255


Unix:

java.lang.UnsatisfiedLinkError: Can't load library: /home/oracle/Middleware/Oracle_IDM1/oui/lib/linux/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1705)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1004)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:402)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:126)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.ssgetUidux(OiipgEnvironment.java:528)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.ssgetUidux(OiixEnvironmentOps.java:159)
at oracle.opatch.OUIReplacer.isRootAccess(OUIReplacer.java:741)
at oracle.opatch.OPatch.main(OPatch.java:445)
Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1737)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1029)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:420)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:126)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.ssgetUidux(OiipgEnvironment.java:528)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.ssgetUidux(OiixEnvironmentOps.java:159)
at oracle.opatch.OUIReplacer.isRootAccess(OUIReplacer.java:741)
at oracle.opatch.OPatch.main(OPatch.java:445)



This could also happen while upgrading the design console

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