Applying Patch fails with /usr/local/bin/ld: cannot find -lz

(Doc ID 2248693.1)

Last updated on APRIL 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 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".


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms