"ld: 0706-006 Cannot find or open library file: -l jvm" While Patch 14029977 is Relinking the Reports Executables (Doc ID 1668811.1)

Last updated on OCTOBER 12, 2015

Applies to:

Oracle Reports Developer - Version 10.1.2.3 to 10.1.2.3 [Release 10gr2]
Information in this document applies to any platform.
Checked for relevance on 12-October-2015

Symptoms


Patch 14029977 is being applied, and while relinking the reports executables with "make -f ins_reports.mk install", it is failing with an exception:

$OH/reports/lib32> make -f ins_reports.mk install
  $OH/........//10.1.2/lib32//librwu.a > librwuso.exp
  rm -f rwsutil.o rwspid.o ; /bin/ar x /....../10.1.2/lib32//librwu.a rwsutil.o rwspid.o ; (LD_OPTIONS="-zmultidefs"; ld -o /$OH/lib32//librwu.so -bM:SRE -bnoentry -bnolibpath -bE:librwuso.exp rwsutil.o rwspid.o -lm -lc -lm -ldl /$OH/lib32/libclntsh.a -lpthreads -L/usr/lpp/X11/lib/R6 -L/usr/lpp/X11/lib/R6/Motif2.1 -lXm -lXt -lX11 -lm `cat /$OH/lib32/sysliblist` /$OH/lib32/libclntst10.a )
  rm -f zrhitem.o zrhcursor.o; /bin/ar x /$OH/lib32//librw.a zrhitem.o zrhcursor.o
  /$OH/bin/mkexp.sh /$OH/lib32/libmmcm.a > temp1.exp
  /$OH/bin/mkexp.sh /$OH/lib32/librw.a > temp2.exp
  cat temp1.exp temp2.exp > temp.exp
  sort -u temp.exp > librw.exp
  rm temp1.exp temp2.exp temp.exp

ld: 0706-006 Cannot find or open library file: -l jvm
  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

Changes

ORACLE_HOME is being patched / JDK is being upgraded.
For example while following <Note: 1467892.1 Using JDK 7.0 Latest Update with Oracle E-Business Suite Release 12.0 and 12.1> to upgrade the JDK for an E-Business Suite environment.
Or when JDK changed for an existing installation.

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