[Buildroot] where is 'ldd'?

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 9 10:40:30 UTC 2013


Dear Thomas De Schampheleire,

On Mon, 8 Jul 2013 18:49:40 +0200, Thomas De Schampheleire wrote:

> You really don't need a special ldd.
> ldd is just a script. In its most basic usage (ldd <executable>), it just runs:
> # LD_TRACE_LOADED_OBJECTS=1 <executable>
> 
> For example on busybox:
> # LD_TRACE_LOADED_OBJECTS=1 /bin/busybox
>         linux-vdso32.so.1 =>  (0x00100000)
>         libc.so.6 => /lib/libc.so.6 (0x0fe70000)
>         /lib/ld.so.1 (0x48000000
> 
> So for sporadic usage, an ldd script isn't even needed.

Right, but does this work with the uClibc dynamic loader? Anyway, if
those features don't exist with the uClibc dynamic loader, then
implementing ldd is simply impossible.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list