|
|
Message-ID: <20261022094253.GL3542221@port70.net> Date: Thu, 22 Oct 2026 11:42:53 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: mark.yang@....com Cc: musl@...ts.openwall.com Subject: Re: [PATCH] configure: add --sysconfdir for the dynamic linker path file * mark.yang@....com <mark.yang@....com> [2026-10-22 17:35:02 +0900]: > The dynamic linker looks for ld-musl-$ARCH.path in ../etc relative > to the directory of the program interpreter, so the location of the > path file is tied to where the dynamic linker is installed. A system > that puts /usr/lib/ld-musl-$ARCH.so.1 into PT_INTERP therefore reads > /usr/etc/ld-musl-$ARCH.path, while its configuration lives in /etc. why would you place ld.so in /usr/lib? that's an unusual setup. what are you trying to do? changing ld.so path for testing, isolation or custom sysroot is fine, but then you would not use /usr/lib (nor any system wide abs path). you can also symlink /usr/etc/foo to /etc/foo
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.