<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p><br /></p>
<p>Hello</p>
<p><br /></p>
<p><span>My build (actually can't get past configure) of gnutls-3.6.8 on RHEL Server 7.6 (Maipo) fails with the following error:</span></p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>checking for nettle_rsa_sec_decrypt... no<br />configure: error: Nettle lacks the required rsa_sec_decrypt function</p>
</blockquote>
<p>My configure parameters are the following:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div>./configure --prefix /opt/gnutls-3.6.8 \<br />CFLAGS="-I/opt/libunistring/include/ -I/opt/libidn2/include/ -I/opt/libnettle/include/" \<br />LDFLAGS="-L/opt/libunistring/lib/ -L/opt/libidn2/lib/ -L/opt/libnettle/lib64/" \<br />NETTLE_CFLAGS=-I/opt/libnettle/include/ \<br />NETTLE_LIBS=-L/opt/libnettle/lib64/ \<br />HOGWEED_CFLAGS=-I/opt/libnettle/include/ \<br />HOGWEED_LIBS=-L/opt/libnettle/lib64/ \<br />GMP_CFLAGS=-I/opt/gmp/include/ \<br />GMP_LIBS=-L/opt/gmp/lib/ \<br />LIBTASN1_CFLAGS=-I/opt/libtasn1/include/ \<br />LIBTASN1_LIBS=-L/opt/libtasn1/lib/ \<br />--with-libiconv-prefix=/opt/libiconv/ \<br />--with-libintl-prefix=/opt/libintl/ \<br />--enable-fips140-mode \<br />--disable-non-suiteb-curves</div>
</blockquote>
<div> </div>
<div>The thing is that when I run 'make check' in nettle source directory the rsa_sec_decrypt test passes.</div>
<div> </div>
<div>What am I doing wrong? I tested with both nettle 3.4.1 and 3.5</div>
<div> </div>
<div>Links to config.log files:</div>
<div><a href="https://1drv.ms/u/s!AsqaPT0ZS1sHgrVxwnwKBKa7BxvogA" target="_blank" rel="noopener noreferrer">config log with nettle-3.4.1</a></div>
<div><a href="https://1drv.ms/u/s!AsqaPT0ZS1sHgrVyFwC_g_ASItJ_MA" target="_blank" rel="noopener noreferrer">config log with nettle-3.5</a></div>
<div> </div>
<div> </div>
<div>Thank You in advance,</div>
<div> </div>
<div>Oliver</div>
<div> </div>
</body></html>