ldd: resolve versus exec

Rob Landley rob at landley.net
Thu Oct 30 17:56:42 UTC 2008


On Wednesday 29 October 2008 14:49:59 Bernhard Reutner-Fischer wrote:
> Hi,
>
> I'm a bit puzzled about ldd, i admit:
>
> Not sure if running the binary is such a good idea. Thoughts?

Sounds like you're using the glibc version of ldd, which has always run 
binaries when trying to figure out what they link to.  (This is one of the 
reasons ld-linux.so needed the executable bit set, I forget the details and 
archive.org is being stroppy.  I'm fairly certain I'm not a spambot, but try 
telling them that...)

The uClibc version worked like readelf last I checked, and it would be 
criminally stupid to change that.

Rob



More information about the uClibc mailing list