Hi,

On 10.06.23 00:41, Steve McIntyre wrote:

What exactly do you mean here? You know that even a statically linked
executable needs an interpreter defined in the ELF header?

/sbin/ldconfig has no PT_INTERP segment.

If you use libdl, you need to be loaded through ld.so, and since PAM uses libdl to load plugins, accessing databases doesn't work when statically linked without an interpreter, so a lot of people use an interpreter even in a static link, but it's not required (and would be counterproductive, the interpreter chain needs to terminate somewhere).

   Simon

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to