OPATCH Fails With Error Code 102 Due to Wrong Entry in ins_forms.mk For "sharedlib"

(Doc ID 1992169.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Forms - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

Trying to install a Patch with OPATCH which requires the Oracle Forms shared libraries to be recreated, fails with the following errors.

 

[Feb 12, 2015 8:41:46 AM] OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_forms.mk sharedlib ORACLE_HOME=/orabase/AS020T/MW_HOME_FR/FRHome_1"....'/bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
  make: 1254-004 The error code from the last command is 2.

  

[Feb 12, 2015 8:41:46 AM] Stack Description: java.lang.RuntimeException: /bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
  make: 1254-004 The error code from the last command is 2.

 

[Feb 12, 2015 8:42:08 AM] Finishing ApplySession at Thu Feb 12 08:42:08 CET 2015
[Feb 12, 2015 8:42:08 AM] Total time spent waiting for user-input is 16 seconds. Finish at Thu Feb 12 08:42:08 CET 2015
[Feb 12, 2015 8:42:08 AM] Log file location: /orabase/AS020T/MW_HOME_FR/FRHome_1/cfgtoollogs/opatch/19562319_Feb_12_2015_08_41_31/apply2015-02-12_08-41-31AM_1.log
[Feb 12, 2015 8:42:08 AM] Stack Description: java.lang.Error: ApplySession failed in system modification phase... 'ApplySession::apply failed: Re-link fails on target "sharedlib".
  '
[Feb 12, 2015 8:42:08 AM] StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:4075)
[Feb 12, 2015 8:42:08 AM] StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:4879)
[Feb 12, 2015 8:42:08 AM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1678)
[Feb 12, 2015 8:42:08 AM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:517)

 

Changes

 Trying to apply a Patch which requires the 'Shared Libraries' to be recreated.

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