This is from an attempt to build gnupg-2.4.5 on Ubuntu 23.10 under WSL (6.1.21.2-microsoft-standard-WSL2+ kernel)
make check-TESTS make[2]: Entering directory '/home/dschulman/Downloads/gnupg-2.4.5/g10' PASS: t-rmd160 ./t-keydb: error while loading shared libraries: libassuan.so.9: cannot open shared object file: No such file or directory FAIL: t-keydb ./t-keydb-get-keyblock: error while loading shared libraries: libassuan.so.9: cannot open shared object file: No such file or directory FAIL: t-keydb-get-keyblock ./t-stutter: error while loading shared libraries: libassuan.so.9: cannot open shared object file: No such file or directory FAIL: t-stutter ./t-keyid: error while loading shared libraries: libassuan.so.9: cannot open shared object file: No such file or directory FAIL: t-keyid ======================================= 4 of 5 tests failed Please report to https://bugs.gnupg.org ======================================= make[2]: *** [Makefile:1006: check-TESTS] Error 1 make[2]: Leaving directory '/home/dschulman/Downloads/gnupg-2.4.5/g10' make[1]: *** [Makefile:1132: check-am] Error 2 make[1]: Leaving directory '/home/dschulman/Downloads/gnupg-2.4.5/g10' make: *** [Makefile:631: check-recursive] Error 1