ld linking against wrong libs

Joerg Sonnenberger joerg at britannica.bec.de
Thu Apr 7 10:12:17 PDT 2005


On Thu, Apr 07, 2005 at 07:00:33PM +0200, Eirik Nygaard wrote:
> [eirik at shuttle]~/<1>test> /usr/libexec/binutils215/elf/ld /usr/lib/crt1.o -L/usr/lib -lc ld.o -o ld

Surely doesn't this work. You don't correctly specify the link flags for
dynamic linking, e.g. you don't set the ELF interpreter (rtld).

Joerg





More information about the Bugs mailing list