ld: 0706-006 Cannot find or open library file: -l java or -l jvm While Relinking In A Cloned Environment (Doc ID 1386496.1)

Last updated on MARCH 20, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 22-August-2013***

Symptoms

While relinking the binaries of a cloned 11.2.0.1 Oracle home, the following errors may appear:


/bin/make -f $ORACLE_HOME/sysman/lib/ins_emagent.mk relink_sharedobj SHAREDOBJ=libnmemso 
/bin/ld -b64 -G -o $ORACLE_HOME/sysman/lib/libnmemso.so ...
        :
ld: 0706-006 Cannot find or open library file: -l java
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l jvm
ld:open(): No such file or directory
make: The error code from the last command is 255.

Changes

The 11.2.0.1 Oracle home has recently been cloned

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