When I try to configure GnuTLS I'm getting the error that Libnettle 3.4 was not found. I've nettle 3.4.1-1 installed and the library files are present in /usr/lib. Even when I specify the environment variable NETTLE_LIBS directly (export NETTLE_LIBS="-L/usr/lib -R/usr/lib -lnettle") it always throws out that message.
In the config.log is following more concrete message:
Package dependency requirement 'nettle >= 3.4.1' could not be satisfied.
Package 'nettle' has version '3.4', required version is '>= 3.4.1'
What I'am missing here?
gnutlsrequiresPKG_CONFIGto includenettle.pcandhogweed.pc, which were not copied to/usr/lib/pkgconfig/in my build ofnettle3on Linux Ubuntu 20.04 x64, so I had to configuregnutls3as follows:where
NETTLE3_ROOTis the path ofnettle3sources.