Relink Fails With Cannot Find `-l java` And `-l jvm`

(Doc ID 367535.1)

Last updated on FEBRUARY 19, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2]
Generic UNIX
Generic Linux
***Checked for relevance on 21-Aug-2013***

Symptoms

After the 10.2.0.2.0 patchset is installed, executing the following commands will fail:

# relink all
# make -f ins_sysman.mk relink_sharedobj SHAREDOBJ=libnmemso LIBDIR=lib32

Error:

ld: 0706-006 Cannot find or open library file: -l java
         ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l jvm
        ld:open(): A file or directory in the path name does not exist.

make: 1254-004 The error code from the last command is 255.

Stop.

Note:  This has also occurred on 11.1.0.7 and 11.2.0.1



Changes

Installed 10.2.0.2.0 patchset

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