On 2019-06-26 Oliver <oliver+gnutls-h...@duckasylum.com> wrote:
> 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/ \
[...]
> What am I doing wrong? I tested with both nettle 3.4.1 and 3.5 
[...]

Hello,

Afaict you are telling ./configure that the following command will link
foo against nettle

cc foo.o -I/opt/libnettle/include/ -L/opt/libnettle/lib64 -o foo

Which obviously is missing a -lnettle somewhere.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

_______________________________________________
Gnutls-help mailing list
Gnutls-help@lists.gnutls.org
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to