APPLIES TO:

Oracle HTTP Server – Version 11.1.1.7.0 to 11.1.1.9.0 [Release Oracle11g] Linux x86-64

ERROR:

When applying the patches Patch 22290164 and Patch 26610710 on Red Hat 7 or Oracle Linux 7 x86-64 bit, the patch fails with the following errors:

NOTE: Patch 26610710 has been superseded by Patch 27369643

/bin/ld: MW_HOME/Oracle_WT1/lib32/libclient11.a(kputx.o): direct GOT relocation R_386_GOT32 against ‘kpuhhalo’ without base register can not be used when making a shared object
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

genclntsh: Failed to link libclntsh.so.11.1
/bin/ld: MW_HOME/Oracle_WT1/lib32/libagent11.a(hosc.o): direct GOT relocation R_386_GOT32 against ‘hottcini’ without base register can not be used when making a shared object
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

CAUSE:

The relink fails due to version of binutils package installed on the system.  This is an OS issue.

The following binutils version has been reported to cause an error:

  • binutils-2.27-27.base.el7(x86_64)

The following binutils version has been reported to work without issue:

  • binutils-2.25 and lower
  • binutils-2.27-27.base.0.1.el7.x86_64

SOLUTION:

To implement the solution, please execute the following steps:

1.  Check the version of binutils on your OS.

     rpm -qa | grep binutils

2.  Upgrade to a newer version of binutils then run following command to see if issue reproduces.

     $ORACLE_HOME/bin/genclntsh

3.  If issue still reproduces, install binutils version 2.25 or lower then run genclntsh again.

    $ORACLE_HOME/bin/genclntsh

4. If no errors reported from genclntsh command, then reapply the patch.

Recent Posts

Start typing and press Enter to search