My Oracle Support Banner

Applying a Patch to OID 11g Fails Relinking OID with: /usr/bin/ld: cannot find -lncrypt11 | make: *** [oidldapd] Error 1 | Re-link fails on target "install". (Doc ID 1632783.1)

Last updated on JUNE 01, 2018

Applies to:

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

Symptoms

Applying a patch to Oracle Internet Directory (OID) 11g fails to relink with error:  /usr/bin/ld: cannot find -lncrypt11

For example:

...<snip>...

Patching component oracle.ldap.rsf, 11.1.1.6.0...
Updating archive file "/u01/oracle/Middleware/IDM/lib/libldapclnt11.a"  with "lib/libldapclnt11.a/gslcgn.o"
Updating archive file "/u01/oracle/Middleware/IDM/lib/libldapclnt11.a"  with "lib/libldapclnt11.a/gslu.o"
Running make for target install
Make failed to invoke "/usr/bin/make -f ins_ldap.mk install ORACLE_HOME=/u01/oracle/Middleware/IDM"....'/usr/bin/ld: skipping incompatible /u01/oracle/Middleware/IDM/lib//libncrypt11.a when searching for -lncrypt11
/usr/bin/ld: cannot find -lncrypt11
collect2: ld returned 1 exit status
make: *** [oidldapd] Error 1
'

The following make actions have failed :

Re-link fails on target "install".


Do you want to proceed? [y|n]
n
User Responded with: N
OPatch failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Re-link fails on target "install".
'
OPatch will attempt to restore the system...
Restoring the Oracle Home...
Checking if OPatch needs to invoke 'make' to restore some binaries...
Make failed to invoke "/usr/bin/make -f ins_ldap.mk install ORACLE_HOME=/u01/oracle/Middleware/IDM"....'/usr/bin/ld: skipping incompatible /u01/oracle/Middleware/IDM/lib//libncrypt11.a when searching for -lncrypt11
/usr/bin/ld: cannot find -lncrypt11
collect2: ld returned 1 exit status
make: *** [oidldapd] Error 1
'

--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file '/u01/oracle/Middleware/IDM/.patch_storage/17833015_Nov_22_2013_02_44_54/make.txt'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/u01/oracle/Middleware/IDM'. Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67200:Make failed to invoke "/usr/bin/make -f ins_ldap.mk install ORACLE_HOME=/u01/oracle/Middleware/IDM"....'/usr/bin/ld: skipping incompatible /u01/oracle/Middleware/IDM/lib//libncrypt11.a when searching for -lncrypt11
/usr/bin/ld: cannot find -lncrypt11
collect2: ld returned 1 exit status
make: *** [oidldapd] Error 1
'
2) OUI-67124:Re-link fails on target "install".

3) OUI-67200:Make failed to invoke "/usr/bin/make -f ins_ldap.mk install ORACLE_HOME=/u01/oracle/Middleware/IDM"....'/usr/bin/ld: skipping incompatible /u01/oracle/Middleware/IDM/lib//libncrypt11.a when searching for -lncrypt11
/usr/bin/ld: cannot find -lncrypt11
collect2: ld returned 1 exit status
make: *** [oidldapd] Error 1
'
--------------------------------------------------------------------------------

 

The same patch works fine on another identical node (in High Availability / HA).

Changes

Installed 32bit Oracle HTTP Server (OHS) onto this (64bit) nonworking node.

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.