What does errno 87 (ELIBEXEC) mean?

 
Could be also:
ConstantTypeOS
ERROR_INVALID_PARAMETERWin32 errorWindows
EUSERSerrnoLinux
ESHLIBVERSerrnoMac
XNS_INTERNAL_ERRORBugCheck CodeWindows
Previous Next
ELIBMAX ESTRPIPE

ELIBEXEC

The target object is a library, not an executable program image

ELIBEXEC is one of Solaris' obsolete shared-library errno values. Oracle defines the condition specifically as an attempt to execute a shared library directly. It belongs to the historical a.out/static-shared-library error group documented alongside ELIBACC, ELIBBAD, and ELIBMAX.

The problem is therefore different from failing to find a required library or discovering corruption in one. The target passed to the execution path is itself the wrong kind of program image for direct exec.

Analyze the requested program image

  • Record the exact pathname supplied to the exec family and inspect the file format rather than relying on its filename extension.
  • Check launch scripts and configuration that may accidentally point at a library artifact instead of the intended executable.
  • When reviewing archived Solaris logs, retain the obsolete errno name; current ELF loaders may report a different error for an analogous invalid target.

References


Looking for a different code? Search another status or error code.