If dlopen fails, this can be due to a potentially transient issue (like lack of file descriptors or memory), a fatal file system problem (media read error), a file system contents issue (missing file, lack of access privileges), data format issues (corrupted ELF data) or actual linking problems. Internal use of dlopen within glibc needs to tell these errors apart. We have several caches which should not treat a failed dlopen due to a transient condition like a missing DSO. For example, the NSS service module cache should not mark nss_dns as non-existent just because the system temporarily ran out of file descriptors. Parsing the output of dlerror is not a solution because it is too fragile.