[systemd-devel] Linking /lib64 to /usr/lib

Adrian Vovk adrianvovk at gmail.com
Tue Feb 21 21:00:12 UTC 2023


Hello all,

Would you accept a patch to shared/base-filesystem that makes /usr/lib
a fallback link target for /lib64? On my distro I don't support
multilib at all and so everything ends up in /usr/lib.

So for example, for x86_64 I'd change the target from
"usr/lib/"LIB_ARCH_TUPLE"\0" "usr/lib64\0" to
"usr/lib/"LIB_ARCH_TUPLE"\0" "usr/lib64\0" "usr/lib\0", and ditto for
all the other architectures. That way no matter what, /lib64 always
exists when necessary.

Thank you,
Adrian Vovk


More information about the systemd-devel mailing list