Meaning
Runtime search path attributes embedded in ELF binary headers specify directory lookup lists that take effect after environment variable evaluation. Dynamic loaders consult these paths to locate shared libraries when runtime environment variables do not override library resolution. Embedded system developers configure these attributes to establish predictable fallback locations for radio interface drivers without locking out developer runtime overrides.
The scope of this lookup path remains restricted to the target binary and its immediate load dependencies.
Lookup Hierarchy
Modern dynamic linkers evaluate search paths according to strict priority ordering during dynamic library resolution. The dt_runpath attribute provides directory lookup paths that yield precedence to LD_LIBRARY_PATH environment variables while taking priority over standard system directories. Dynamic linkers prefer this attribute over older search path mechanisms because it allows system administrators to substitute debug libraries at execution time.
Environment Interaction
Environment variables take priority over embedded execution search paths to enable dynamic runtime overrides during debugging sessions. Test suites pass alternative library locations to binaries without recompiling binary code or modifying root filesystem structures.
Deployment Constraint
Production build toolchains introduce search paths into dynamic dynamic array headers using explicit linker option flags. Embedded firmware validation pipelines inspect final dynamic headers to ensure fallback search paths point strictly to read-only system partitions.