Andreas,
On Sunday, August 24, 2025 2:31:43 AM Mountain Standard Time Andreas Metzler
wrote:
> This is an issue on the courier side. Looking at the source code we
> find (in both oldstable and current version):
> libs/tcpd/libcouriergnutls.c
> if (gnutls_check_version(LIBGNUTLS_VERSION) == NULL)
> {
> fprintf(stderr, "GnuTLS version mismatch\n");
>
> And LIBGNUTLS_VERSION is defined in /usr/include/gnutls/compat.h
> #define LIBGNUTLS_VERSION GNUTLS_VERSION
> and /usr/include/gnutls/gnutls.h
> #define GNUTLS_VERSION "3.8.10"
>
> So when you compile courier against e.g. 3.8.10 and run it against
> gnutls 3.8.9 it will run
> gnutls_check_version(3.8.10)
> and fail, although 3.8.9 and 3.8.10 are ABI compliant.
>
> (And at the time the bug submitter restarted courier by rebootting gnutls
> had been upgrade and the error went away.)
>
> You should not run gnutls_check_version against the gnutls version
> installed at compile time but against the gnutls version you actually
> need.Thank you for taking the time to provide a detailed analysis of the problem. I will consult with Courier’s upstream maintainer and resolve the issue. -- Soren Stoutner [email protected]
signature.asc
Description: This is a digitally signed message part.

