My Oracle Support Banner

Applying Patch fails with /usr/local/bin/ld: cannot find -lz (Doc ID 2248693.1)

Last updated on OCTOBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Linux x86-64


While applying a one off patch or a PSU following error may occur during the relinking phase:

Patching component oracle.rdbms.dbscripts,
Make failed to invoke "/usr/bin/make -f ictxhx ORACLE_HOME=/u01/app/oracle/product/"....'/usr/local/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [ctxhx] Error 1

The following make actions have failed :

Re-link fails on target "ictxhx".


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

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