[gnutls-help] gnutls-3.6.8 build fail on RHEL 7.6 due to nettle_rsa_sec_decrypt

Oliver oliver+gnutls-help at duckasylum.com
Wed Jun 26 16:08:43 CEST 2019


Hello 

My build (actually can't get past configure) of gnutls-3.6.8 on RHEL
Server 7.6 (Maipo) fails with the following error:

> checking for nettle_rsa_sec_decrypt... no
> configure: error: Nettle lacks the required rsa_sec_decrypt function

My configure parameters are the following:

> ./configure --prefix /opt/gnutls-3.6.8 \
> CFLAGS="-I/opt/libunistring/include/ -I/opt/libidn2/include/ -I/opt/libnettle/include/" \
> LDFLAGS="-L/opt/libunistring/lib/ -L/opt/libidn2/lib/ -L/opt/libnettle/lib64/" \
> NETTLE_CFLAGS=-I/opt/libnettle/include/ \
> NETTLE_LIBS=-L/opt/libnettle/lib64/ \
> HOGWEED_CFLAGS=-I/opt/libnettle/include/ \
> HOGWEED_LIBS=-L/opt/libnettle/lib64/ \
> GMP_CFLAGS=-I/opt/gmp/include/ \
> GMP_LIBS=-L/opt/gmp/lib/ \
> LIBTASN1_CFLAGS=-I/opt/libtasn1/include/ \
> LIBTASN1_LIBS=-L/opt/libtasn1/lib/ \
> --with-libiconv-prefix=/opt/libiconv/ \
> --with-libintl-prefix=/opt/libintl/ \
> --enable-fips140-mode \
> --disable-non-suiteb-curves

The thing is that when I run 'make check' in nettle source directory the
rsa_sec_decrypt test passes. 

What am I doing wrong? I tested with both nettle 3.4.1 and 3.5 

Links to config.log files: 
config log with nettle-3.4.1 [1] 
config log with nettle-3.5 [2] 

Thank You in advance, 

Oliver 
  

Links:
------
[1] https://1drv.ms/u/s!AsqaPT0ZS1sHgrVxwnwKBKa7BxvogA
[2] https://1drv.ms/u/s!AsqaPT0ZS1sHgrVyFwC_g_ASItJ_MA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-help/attachments/20190626/76cb8cb0/attachment-0001.html>


More information about the Gnutls-help mailing list