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

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Wed Aug 22 12:48:05 UTC 2018


Hi Richard


On Wed, Aug 22, 2018 at 2:45 PM <richard.purdie at linuxfoundation.org> wrote:
>
> 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?
>

I am using yocto-sumo

Maybe your tests are run agains an image that has the package lsb
installed. Which creates symbolic links to the standard locations


> Regards,
>
> Richard



-- 
Ricardo Ribalda



More information about the Openembedded-core mailing list