Dynamically linked binaries do not work

Mike Frysinger vapier at gentoo.org
Sun May 10 21:20:23 UTC 2009


On Sunday 10 May 2009 13:26:05 Kyle Sallee wrote:
> I posted my reply at the top,
> please let me know if this is discouraged on the uclibc mailing list.

it is

> Did you manage to have it compile and link without using a gcc cross
> compiler or gcc native to *-linux-uclibc?

if you did, then you're doing it wrong.  only dedicated toolchains (i.e. 
configured specifically for *-linux-uclibc) are supported here.  we simply 
dont have the resources nor inclination to support other methods since it is 
so easy (and common) to get it wrong.

if you want to do some kind of hacky thing or you want to learn about cross-
compilers, you should subscribe to the crossgcc mailing list and post your 
query there.

> Is busybox also dynamically linked with /lib/libc.so.6 ?
> $ objdump -x busybox | grep NEEDED

`readelf -d` is a better route for the DT_NEEDED tags
-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/20090510/68e5d635/attachment.pgp>


More information about the uClibc mailing list