Expand description
The dynamic linker resolver.
This models the glibc loader’s search algorithm rather than looking for
matching filenames. The target binary is never executed and ldd is never
called.
Re-exports§
pub use cache::LdCache;pub use tokens::TokenContext;
Modules§
- cache
- Direct
/etc/ld.so.cachereading and writing. - search
- Library search directories:
ld.so.confand the architecture defaults. - tokens
- Expansion of the dynamic string tokens glibc understands in
DT_RPATH/DT_RUNPATH:$ORIGIN,$LIBand$PLATFORM.
Structs§
- Library
Request - A single
DT_NEEDEDlookup, with all loader state it depends on. - Resolution
Note - A library the loader inside the bundle would not find on its own.
- Resolved
Library - Resolver
Enums§
- Search
Origin - Where a lookup succeeded. Only some of these survive into the bundle:
--library-pathis a hint toelfpakand the packaged application never sees it.
Traits§
- Dynamic
Linker Resolver - Loader-specific resolution, kept behind a trait so the implementation can be replaced (or wrapped for tracing) without touching the planner.