[OE-core] [PATCH] glibc: Fix ldd bug: not a dynamic executable error

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Wed Aug 22 12:45:02 UTC 2018


On Tue, 2018-08-21 at 16:58 +0200, Ricardo Ribalda Delgado wrote:
> RTLDLIST table does not include /lib/ld-linux-x86-64.so.2, resulting
> on the following error:
> 
> root at qt5122:~# ldd ./qtec_webcam
> not a dynamic executable
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
>  .../glibc/glibc/0031-ldd-rewrite.patch        | 22
> +++++++++++++++++++
>  meta/recipes-core/glibc/glibc_2.28.bb         |  1 +
>  2 files changed, 23 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/glibc/0031-ldd-
> rewrite.patch

I'm a bit confused as with MACHINE=qemux86-64, building core-image-sato 
with ldd added to IMAGE_INSTALL, ldd works correctly even though it has
/lib/ld-linux-x86-64.so.2 (which is listed in RTLDLIST).

We have an automated QA test checking this too:

http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oeqa/runtime/cases/ldd.py

Which version of the project are you using? How would we reproduce the
issue?

Regards,

Richard



More information about the Openembedded-core mailing list