My Oracle Support Banner

OID11.1.1.9 Bundle Patch 28125308 Fails With: /bin/ld: cannot find -lgcc_s / genclntsh: Failed to link libclntsh.so.11.1 (Doc ID 2698716.1)

Last updated on AUGUST 12, 2020

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.9.0 version, Patch

Two Environments

Environment -A able to apply the patch 28125308  successfully no issues

Environment - B -Not able to apply the path ,  When attempting to apply the OID bundle patch 28125308 fails the following error occurs.

ERROR
-----------------------
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:
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.5/libgcc_s.so when searching for -lgcc_s
/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.11.1


Running genclntsh gives the same error:
$ORACLE_HOME/bin/genclntsh
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.5/libgcc_s.so when searching for -lgcc_s
/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.11.1

OPATCH SHOWS


Oracle Interim Patch Installer version 11.1.0.11.0
Copyright (c) 2020, Oracle Corporation. All rights reserved.

Oracle Home : /<PATH>/<Oracle_IDMHOME>
Central Inventory : /u01/app/oraInventory
from : /<PATH>/<Oracle_IDMHOME>/oraInst.loc
OPatch version : 11.1.0.11.0
OUI version : 11.1.0.11.0
Log file location : /<PATH>/<Oracle_IDMHOME>/cfgtoollogs/opatch/opatch2020-08-06_11-44-21AM_1.log

OPatch detects the Middleware Home as "/<PATH>"

Lsinventory Output file location : /<PATH>/<Oracle_IDMHOME>/cfgtoollogs/opatch/lsinv/lsinventory2020-08-06_11-44-21AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Identity Management 11g 11.1.1.9.0
There are 1 products installed in this Oracle Home.

Interim patches (8) :

Patch 28125308 : applied on Thu Aug 06 09:46:03 CDT 2020
Unique Patch ID: 22251829
Created on 25 Jun 2018, 04:03:06 hrs PST8PDT
Bugs fixed:
25729334, 27236536, 22252867, 25743048, 21305374, 20189471, 25767728
24974459, 17722236, 22334103, 25125809, 24945872, 21508042, 28037806
21170374, 27446569, 21132830, 27040009, 22695409, 25287786, 21160561
23339272, 21806111, 23091474, 20205589, 21547090, 27323134, 22968096
24737230, 23225203, 24321883, 24676282, 24839401, 19188396, 21297586
26449426, 24350388, 21155304, 26317361, 23064215, 20742077, 27306630
23563874, 24919002, 26354519, 28194370, 25452497, 26869467, 26743039
27481725, 19467789, 23262822, 23004473, 25995068, 26268699, 22536919
22964317, 22713201, 21674288, 26844985, 20438757, 22755169, 20727217
20981368, 19613876, 27963804, 21232878, 20097757, 25328634, 20205655
26406917, 21261534, 20729686, 21972553, 21268164


OPatch succeeded.

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.