OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_srvm.mk install_srvm..'ld: fatal: library -lkstat: not found (Doc ID 2027769.1)

Last updated on JULY 16, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Patch application fails:

The following warnings have occurred during OPatch execution:
[Jun 23, 2015 11:59:59 AM] 1) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_srvm.mk install_srvm ORACLE_HOME=/crs/product/11.2.0"....'ld: fatal: library -lkstat: not found
  ld: fatal: library -lnsl: not found
  ld: fatal: library -lsocket: not found
  ld: fatal: library -lresolv: not found
  ld: fatal: library -lgen: not found
  ld: fatal: library -ldl: not found
  ld: fatal: library -lsched: not found
  ld: fatal: library -lrt: not found
  ld: fatal: library -lc: not found
  ld: fatal: library -laio: not found
  ld: fatal: library -lposix4: not found
  ld: fatal: library -lpool: not found
  ld: fatal: library -lm: not found
  ld: fatal: file /crs/product/11.2.0/lib/prod/lib/amd64/crtn.o: open failed: No such file or directory
  ld: fatal: library -lumem: not found
  ld: fatal: library -laio: not found
  ld: fatal: library -lm: not found
  ld: fatal: library -lumem: not found
  make: Fatal error: Command failed for target `libsrvm11.so'
  '
[Jun 23, 2015 11:59:59 AM] 2) OUI-67124:Re-link fails on target "install_srvm".
[Jun 23, 2015 11:59:59 AM] 3) OUI-67215:
  OPatch found the word "warning" in the stderr of the make command.
  Please look at this stderr. You can re-run this make command.
  Stderr output:
  make: Warning: Too many rules defined for t

 

However, ls command shows all the missing libraries are in the right location:

$ ls -l /usr/lib/sparcv9/libnsl*
lrwxrwxrwx 1 root root 32 Jun 5 11:01 /usr/lib/sparcv9/libnsl.so -> ../../../lib/sparcv9/libnsl.so.1
lrwxrwxrwx 1 root root 32 Jun 5 11:01 /usr/lib/sparcv9/libnsl.so.1 -> ../../../lib/sparcv9/libnsl.so.1
$ ls -lL /usr/lib/sparcv9/libnsl*
-rwxr-xr-x 1 root bin 800688 Jun 9 18:46 /usr/lib/sparcv9/libnsl.so
-rwxr-xr-x 1 root bin 800688 Jun 9 18:46 /usr/lib/sparcv9/libnsl.so.1

 

 

Cause

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