Applying Patch 8557019 Returns "cannot find -lhpi" Error (Doc ID 2060695.1)

Last updated on OCTOBER 07, 2015

Applies to:

Oracle Applications Technology Stack - Version 12.1.1 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On Oracle Applications 12.1.3,
as part of the Java 8 upgrade, applying patch 8557019 per <Note 437878.1>.
the patch fails during relinking:

Running make for target install.

OPatch found the word "error" in stderr, please look into it.
You may have to run the make again.
Stderr Output (from /u021/nbcdev9/NBCDEV9/apps/tech_st/10.1.2/.patch_storage/8557019/make_local.stderr):
/usr/bin/ld: cannot find -lhpi

collect2: ld returned 1 exit status

make: *** [dejvm] Error 1

OPatch encounters the following issues during Make:
There were problems running make commands. The errors encounted were:
Error for command: cd /u021/nbcdev9/NBCDEV9/apps/tech_st/10.1.2//procbuilder/lib
/usr/bin/make -f ins_procbuilder.mk install ORACLE_HOME="/u021/nbcdev9/NBCDEV9/apps/tech_st/10.1.2" 2>/u021/nbcdev9/NBCDEV9/apps/tech_st/10.1.2/.patch_storage/8557019/make_local.stderr


The issue can be reproduced at will with the following steps:
1. Applying patch 8557019.

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