[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#155779: mklibs can't find dynamic linker



On Wed Aug 07, 2002 at 01:09:21PM -0700, David Kimdon wrote:
> Can we figure out the dynamic linker automatically, every time?  The
> above line could be moved to be executed unconditionally, but it is
> depending on a mapping between libc's name and the name of the dynamic
> linker that doesn't always hold (not for uClibc, for example).  The
> included patch works for i386 glibc and uClibc, FWIW.  I don't know if
> the INTERP header (where the message I am grabbing comes from) is a
> portable way of getting this information either, but it looks better
> than assuming the linker has a specific name based on the name of the
> C library.

I agree.  The INTERP header is the _only_ way to be sure
the correct dynamic linker is used.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



Reply to: