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 OCTOBER 24, 2019

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>...

Running make for target install
Make failed to invoke "/usr/bin/make -f ins_ldap.mk install ORACLE_HOME=<ORACLE_HOME>"....'/usr/bin/ld: skipping incompatible <ORACLE_HOME>/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=<ORACLE_HOME>"....'/usr/bin/ld: skipping incompatible <ORACLE_HOME>/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 '<ORACLE_HOME>/.patch_storage/<PATCH_NUMBER>_<DATE&TIME>/make.txt'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '<ORACLE_HOME'. 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=<ORACLE_HOME>"....'/usr/bin/ld: skipping incompatible <ORACLE_HOME>/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=<ORACLE_HOME>"....'/usr/bin/ld: skipping incompatible <ORACLE_HOME>/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


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