My Oracle Support Banner

OID 11g Patch Application Ends with: OPatch Session completed with warnings. Output Shows: /usr/bin/ld: crti.o: No such file: No such file or directory | genclntsh: Failed to link libclntsh.so.11.1 (Doc ID 2221569.1)

Last updated on APRIL 03, 2023

Applies to:

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

Symptoms

Oracle Internet Directory (OID) 11g.

Applying a patch, for example Patch 23735918 on OID 11.1.1.9.0, returns warning: OPatch Session completed with warnings.

/u01/app/oracle/Middleware/Oracle_IDM1/PATCHSET/23735918>> ../../OPatch/opatch apply
Oracle Interim Patch Installer version 11.1.0.11.0
Copyright (c) 2016, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/Middleware/Oracle_IDM1
Central Inventory : /u01/app/oraInventory
  from : /u01/app/oracle/Middleware/Oracle_IDM1/oraInst.loc
OPatch version : 11.1.0.11.0
OUI version : 11.1.0.11.0
Log file location : /u01/app/oracle/Middleware/Oracle_IDM1/cfgtoollogs/opatch/23735918_Dec_08_2016_12_07_42/apply2016-12-08_12-07-42PM_1.log

Applying interim patch '23735918' to OH '/u01/app/oracle/Middleware/Oracle_IDM1'
Verifying environment and performing prerequisite checks...
Patch 23735918: Optional component(s) missing : [ oracle.rdbms.rsf, 11.1.0.9.0 ]
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/Middleware/Oracle_IDM1')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.ldap.rsf, 11.1.1.9.0...

Patching component oracle.idm.oid, 11.1.1.9.0...

OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.11.1



Verifying the update...
Patch 23735918 successfully applied
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/Middleware/Oracle_IDM1/cfgtoollogs/opatch/23735918_Dec_08_2016_12_07_42/apply2016-12-08_12-07-42PM_1.log

OPatch completed with warnings.



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.