undefined reference to symbol 'dlsym@@GLIBC_2.2.5' during qemu build

Florian Weimer fweimer@redhat.com
Tue May 25 12:21:31 GMT 2021


> Hello Florian,
> Thank you for the reply.
> I examined if the -ldl option is really used. I added V=1 during the qemu
> make to see the detail.

Order of command line arguments matters.  -ldl is ignored if it comes to
early if the toolchain defaults to -Wl,--as-needed.

Thanks,
Florian



More information about the Libc-help mailing list