DTRUNPATH
DTRUNPATH is the runtime path tag used by the ELF dynamic linker to locate shared libraries. In ELF binaries, it corresponds to the DT_RUNPATH entry in the dynamic section, and it specifies directories to be searched for dependencies at program startup and during dynamic loading.
Purpose and behavior: DTRUNPATH directs the linker to search the listed directories for needed libraries. Compared
Setting DTRUNPATH: Most linkers provide options to embed a runpath into the resulting binary, for example by
Platform notes: DTRUNPATH is specific to ELF-based systems such as Linux and many BSD variants; macOS uses
See also: DT_RUNPATH, DT_RPATH, LD_LIBRARY_PATH, dynamic linker, ELF, shared libraries.