Relink Fails for make target 'jox_refresh_knlopt' with "Oracle JavaVM Component Database PSU" Patch

(Doc ID 1933203.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Oracle Database - Standard Edition - Version 11.1.0.7 and later
Oracle Database - Personal Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

Relink fails for target "jox_refresh_knlopt" when applying/rolling back a patch to/from a database home.

The relink errors in the patch log are similar to one of the examples below:

Example 1

Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk jox_refresh_knlopt javavm_refresh ioracle ORACLE_HOME=<ORACLE_HOME>"....
'make: Fatal error: Don't know how to make target `jox_refresh_knlopt'

The following make actions have failed :
  Re-link fails on target "jox_refresh_knlopt javavm_refresh ioracle".


Example 2

Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk jox_refresh_knlopt ioracle ORACLE_HOME=<ORACLE_HOME>'...

 Undefined                    first referenced
  symbol                             in file
 kg_link_failed_because_ojvm_bundle_installed_without_prereq_bundles
                                   .../libknlopt.a(jox.o)

 ld: fatal: symbol referencing errors. No output written to .../oracle

 ....

 The following make actions have failed :
   Re-link fails on target "jox_refresh_knlopt ioracle"

The exact text of the error may vary depending on the platform and version but will typically involve the target "jox_refresh_knlopt" and/or mention symbol "kg_link_failed_because_ojvm_bundle_installed_without_prereq_bundles".

Changes

You are trying to apply an Oracle JavaVM Component Database PSU (OJVM PSU) patch or are trying to deinstall a Database PSU ( or SPU or Database Patch for Exadata or similar ).

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