Are my libs correct?

Mike Frysinger vapier at gentoo.org
Thu Jul 2 18:28:39 UTC 2009


On Thursday 02 July 2009 13:04:02 Ed W wrote:
> Hi, I'm using a gentoo uclibc system and just updated it to 0.9.30.1
>
> I notice a curious feature of binaries which is causing problems with
> some other gentoo ebuilds.
>
> Essentially if I use readelf -d, this gives me (amongst other things):
>
> 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
> 0x00000001 (NEEDED)                     Shared library: [ld-uClibc.so.0]
>
> ...however, other uclibc users don't get the second line
>
> Can anyone shed some light on the second line (ld-uClibc.so.0) and
> whether it's correct, due to some facet of my toolchain and whether it
> represents a problem I should resolve?

the answer is "it depends".  it could be correct, and it could be wrong.  a 
few symbols are provided by the loader and that is why the C library linker 
script reads "AS_NEEDED ( ld-uClibc.so.0 )".  glibc operates the same way.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090702/c697ae3a/attachment.pgp>


More information about the uClibc mailing list