[OE-core] x86_64: ldd does not work (not a dynamic executable)

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Mon Aug 20 20:00:40 UTC 2018


On Mon, 2018-08-20 at 12:06 +0200, Ricardo Ribalda Delgado wrote:
> Hi
> 
> I think that I found a bug with ldd on sumo. Whenever I try to use it
> on the target with an dynamic binary, it returns:
> 
> root at qt5122:~# ldd ./qtec_webcam
> not a dynamic executable
> 
> 
> The reason seems to be that it cannot find the dynamic linker:
> 
> It is searching for:
> RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2
> /libx32/ld-linux-x32.so.2"
> 
> whith ldd being at:
> /lib/ld-linux-x86-64.so.2

We allow base_libdir to be configured and default to /lib even on
x64_64. ldd should really be honouring base_libdir so that sounds like
a bit but it would be ours as upstream will just want to conform to the
architecture standard which is lib64.

Cheers,

Richard



More information about the Openembedded-core mailing list