https://bugs.winehq.org/show_bug.cgi?id=38134
--- Comment #10 from Michael Müller michael@fds-team.de --- If you have the libgnutls26 library installed, you need to change the library name in dlls/secur32/schannel_gnutls.c.
You need to replace SONAME_LIBGNUTLS in the following line with "libgnutls.so.26".
----- libgnutls_handle = wine_dlopen(SONAME_LIBGNUTLS, RTLD_NOW, NULL, 0); -----
The actual library name may differ depending on your distribution. Alternatively, you can try to remove the development files for libgnutls28 and make sure that only those for libgnutls26 are installed. This should force configure to detect and link against the older library version.