Subject: Re: HEADS UP: migration to fully dynamic linked "base" system
To: Lennart Augustsson <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 08/26/2002 11:27:57
On Mon, Aug 26, 2002 at 08:20:05PM +0200, Lennart Augustsson wrote:
> Why should using dlopen() require that the executable is dynamically
> linked? Requiring this is, imo, broken. If using dlopen() is the
> reason to go to a dynamically linked /bin, then fix dlopen() instead.
dlopen() CANNOT be fixed in this case:
1. In ELF, the kernel runs a dynamic executable my mapping the
interpreter (ld.elf_so), and passing info about the program
to it. The interpreter then maps stuff, and jumps into the
2. The interpreter provides dlopen(), etc.
A statically-linked executable has no interpreter, and thus has no
-- Jason R. Thorpe <firstname.lastname@example.org>