My Oracle Support Banner

Relink Fails With Cannot Find `-l java` And `-l jvm` (Doc ID 367535.1)

Last updated on FEBRUARY 14, 2023

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Generic UNIX
Generic Linux

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

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
Symptoms
Changes
Cause
Solution
 10.2.0.x
 11.1.0.x and 11.2.0.x
References

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