From: "Krzysztof Żelechowski" <krzysztof.zelechowski@prospeo.com.pl>
To: Carlos O'Donell <carlos@redhat.com>,
libc-help <libc-help@sourceware.org>
Subject: RE: My dynamic loader refuses to load libQt5Core because of the ABI tag note
Date: Fri, 8 Oct 2021 08:03:31 +0000 [thread overview]
Message-ID: <DBAPR08MB5669DE23ACE7265B34F24F42D7B29@DBAPR08MB5669.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <cdbd0ae0-aa03-65bb-6c6f-b5e1199d31ee@redhat.com>
I repeat the most important stuff:
/usr/lib/YaST2/bin/y2controlcenter
/usr/lib/YaST2/bin/y2controlcenter: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
LD_DEBUG=all returns a ton of stuff but there is no mention of an OS version mismatch, just that the library could not be found, which is mind-boggling.
readelf -n /usr/lib64/libQt5Core.so.5
Displaying notes found in: .note.ABI-tag
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 3.17.0
objcopy -R .note.ABI-tag /usr/lib64/libQt5Core.so.5 /tmp/libQt5Core.so.5
LD_LIBRARY_PATH=/tmp /usr/lib/YaST2/bin/y2controlcenter
qt.qpa.xcb: could not connect to display
cat /proc/sys/kernel/osrelease
4.4.0-19041-Microsoft
This shows that
1) the library is present and correct,
2) the dynamic loader does not care about diagnostics,
3) the dynamic loader is undocumented as to how it uses the ABI tag note and where it takes its idea of OS version from.
How do I examine kernel vDSO?
I have no way of reporting this problem to the distro until we have confirmed it is the ABI note problem as I suppose it is, and I expect it to be confirmed by an appropriate diagnostic emitted by the dynamic loader. I would rather not tell the distro maintainers to dig into function open_verify to see that, especially as you need to know that it compares %EAX to %EDX and you have to si and figure out which register represents which version.
Thanks for your help,
Chris
prev parent reply other threads:[~2021-10-08 8:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 18:47 Krzysztof Żelechowski
2021-10-07 18:53 ` Jeffrey Walton
2021-10-07 19:00 ` Carlos O'Donell
2021-10-07 19:05 ` Adhemerval Zanella
2021-10-07 19:14 ` Carlos O'Donell
2021-10-08 8:03 ` Krzysztof Żelechowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DBAPR08MB5669DE23ACE7265B34F24F42D7B29@DBAPR08MB5669.eurprd08.prod.outlook.com \
--to=krzysztof.zelechowski@prospeo.com.pl \
--cc=carlos@redhat.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).