ldconfig
musl
does not need anldconfig
as it uses its own search mechanism- Do not symlink to
true
becausetrue
is a symlink totoybox
on glaucus - Implement
ldconfig
as a stub instead
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-config
is for appending paths to/etc/ld-musl-x86_64.path
and not anldconfig
replacement - Noname uses a shebang only
#!/bin/sh
insideldconfig
scanelf
is part ofpax-utils
on 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
- gmp
- isl
- libffi
- libtool
- mpc
- mpfr