[gnutls-help] rsa_sec_decrypt resides in libhogweed but the gnutls looks for it in libnettle

elektroniker at elude.in elektroniker at elude.in
Wed Sep 4 17:49:47 CEST 2019


I have compiled nettle-3.5.1 on OS X 10.7.4 The configure options were:

--prefix=$NETTLE --with-include-path=$SSL/include:$GMP/include
--with-lib-path=$SSL/lib:$GMP/lib

where

NETTLE=/usr/local/nettle-3.5.1
SSL=/usr/local/openssl-1.1.1c
GMP=/usr/local/gmp-6.1.2.

With this configuration, the nettle got built perfectly fine. When I use
this nettle for the configuration of gnutls-3.6.8 (or .9) with these
options:

--prefix=/usr/local/gnutls-3.6.8 --with-included-libtasn1
--without-p11-kit --with-included-unistring

it says

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

When I inspect:

nm /usr/local/nettle-3.5.1/lib/libnettle.7.0.dylib | grep rsa

returns nothing but

nm /usr/local/nettle-3.5.1/lib/libhogweed.5.0.dylib  | grep rsa_sec_decrypt

returns:

0000000000005fd0 T _nettle_rsa_sec_decrypt

It looks like rsa_sec_decrypt resides in libhogweed but the gnutls looks
for it in libnettle.

How to fix this problem? Thank you.




More information about the Gnutls-help mailing list