My Oracle Support Banner

opatch fail with ld: Invalid dynamic relocation needed for read-only section (Doc ID 2252863.1)

Last updated on MARCH 06, 2020

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
HP-UX Itanium

Symptoms


While applying a PSU patch on HP-UX Itanium, below warnings were encountered during relink phase :

[Mar 23, 2017 5:57:54 PM] [INFO] --------------------------------------------------------------------------------
[Mar 23, 2017 5:57:54 PM] [INFO] The following warnings have occurred during OPatch execution:
[Mar 23, 2017 5:57:54 PM] [INFO] 1) OUI-67215:
OPatch found the word "error" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
ld: Invalid dynamic relocation needed for read-only section, in input file /orasft/app/oracle/product/12.1/lib/libpls12_pic.a[pfrdis.o], for symbol .text at offset 1fa0
ld: Invalid dynamic relocation needed for read-only section, in input file /orasft/app/oracle/product/12.1/lib/libpls12_pic.a[pfrdis.o], for symbol .text at offset 1fa8

ld: Invalid non-PIC relocation for symbol ".rodata" in file "/orasft/app/oracle/product/12.1/lib/libpls12_pic.a[pfrdis.o]" (section index 11, offset 0x302).
ld: Invalid non-PIC relocation for symbol ".rodata" in file "/orasft/app/oracle/product/12.1/lib/libpls12_pic.a[pfrdis.o]" (section index 11, offset 0x392).

 

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
Cause
Solution
References


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