ldconfig
musldoes not need anldconfigas it uses its own search mechanism- Do not symlink to
truebecausetrueis a symlink totoyboxon glaucus - Implement
ldconfigas a stub instead
Implementations
Section titled “Implementations”- smaeul (most complete, uses scanelf, requires PAX):
- alpine (uses scanelf, requires PAX): https://github.com/libertine-linux-packages/musl_ldconfig
- libertine (identical to alpine, uses scanelf, requires PAX): https://github.com/libertine-linux-packages/musl_ldconfig
- gentoo (does not use scanelf from PAX, but has BASHisms): https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/musl/files/
- Debian
ld-musl-configis for appending paths to/etc/ld-musl-x86_64.pathand not anldconfigreplacement - Noname uses a shebang only
#!/bin/shinsideldconfig scanelfis part ofpax-utilson Arch- smaeul’s ldconfig was added to Adelie because alpine’s ldconfig was limited and depended on scanelf, and smaeul’s ldconfig still does not check for scanelf, but maybe they’ll check in the future: https://git.adelielinux.org/adelie/packages/-/merge_requests/57/commits
Packages that complain
Section titled “Packages that complain”- gmp
- isl
- libffi
- libtool
- mpc
- mpfr