Package: thunderbird
Version: 1:78.4.0-1
Severity: important
Dear Maintainer,
When I try to search for an OpenPGP key by email address using Thunderbird's
new key manager nothing happens in the GUI. Interestingly, searching by key ID
works just fine. If I look at the JS console (ctrl+shit+j) after trying to
search for a key by email address, I see:
Error: Error: Could not find libresolv in any of libresolv.9.so,libresolv.so
Exception: Error: couldn't open library libresolv.so: libresolv.so: cannot
open shared object file: No such file or directory
I can fix this, so key search by email address works fine, by creating this
symlink:
/lib/x86_64-linux-gnu/libresolv.so → /lib/x86_64-linux-gnu/libresolv-2.28.so
or by installing libc6-dev which creates the same symlink.
Looking into comm/mail/base/modules/DNS.jsm in the Thunderbird sources I see:
function findLibrary() {
let lastException = null;
let libnames = [
ctypes.libraryName("resolv.9"),
ctypes.libraryName("resolv"),
];
[…]
which explains this bug. While it probably should be fixed upstream, but meanwhile Debian might
want to patch in support for "resolv.2.31" for Sid and "resolv.2.28" for buster.
Cheers!