Expand description
Direct /etc/ld.so.cache reading and writing.
ldconfig is never invoked. Both the historical ld.so-1.7.0 layout and the
current glibc-ld.so.cache1.1 layout are understood on the way in, including
the common case where a new-format cache is appended after an old-format one.
On the way out, build emits a glibc-ld.so.cache1.1 image for the
bundle. Without one, a packaged application cannot find a library outside
the directories the loader searches by default: the rootfs carries no
ldconfig, and the build host’s cache describes the host’s filesystem.
Structs§
- Cache
Entry - One
soname -> pathmapping, as the loader inside the bundle will see it. - LdCache
Functions§
- build
- Build a
glibc-ld.so.cache1.1image forentries.