| Previous | Next |
| ELIBACC | ELIBSCN |
ELIBBAD
The library was required but could not be loaded
Solaris associates ELIBBAD with old a.out execution and static shared libraries. The executable requires a library to be linked in during exec, but the loader cannot load that library; Oracle says the library is probably corrupted.
This narrows the failure beyond the constant's short text. A missing or inaccessible library maps to ELIBACC, while erroneous .lib metadata in the executable has its own ELIBSCN code. ELIBBAD focuses on the loadability of the required library artifact.
What to preserve when analyzing an old executable
- Record the executable format and the exact required static shared-library file selected by the old loader.
- Compare the library with a known-good copy and inspect truncation or on-disk corruption before changing search paths.
- Do not automatically translate this obsolete errno to a current ELF dynamic-linker error; the historical format and loader contract are part of the diagnosis.
References
- Oracle Solaris intro(2) errno catalog
- POSIX exec family process-image semantics
- illumos sys/errno.h ABI definitions
Looking for a different code? Search another status or error code.