Idea for a sanity check on CVS

Ryan.Oliver at pha.com.au Ryan.Oliver at pha.com.au
Wed May 21 18:01:08 PDT 2003


> A problem is most likely to happen when mixing different libc versions
e.g.
> host has glibc-2.2.5, target has glibc-2.3.2
>
> Running the ldd from host (with the hardcoded ref to /lib/ld-linux.so.2)
on
> binaries linked against the /stage1 libc will do... who knows what? :-)

Most of the time ldd does show the correct info, regardless of which ldd
you use... but note the qualifier "most of the time" at the start of that
statement...

Greg is right,

readelf -l blah | grep interpreter

tells you the correct dynamic linker for the binary, every time.

Regards
Ryan


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list