Neon doesn't work with GnuTLS >=2.11.1 built with support for Nettle

Arfrever Frehtes Taifersar Arahesis arfrever.fta at
Sat Oct 16 10:14:16 EDT 2010

GnuTLS >=2.11.1 uses Nettle [1] as the default crypto backend instead of libgcrypt.
Neon currently unconditionally uses some functions from libgcrypt (without linking
against libgcrypt library). The following build-time error occurs with -Wl,--no-undefined
flag in LDFLAGS:

/bin/sh ../libtool --quiet --mode=link gcc -no-undefined -Wl,--no-undefined -rpath /usr/local/lib -version-info 30:0:0 -Wl,--version-script=../src/neon.vers -o ne_request.lo ne_session.lo ne_basic.lo ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_socks.lo ne_ntlm.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo  ne_oldacl.lo ne_acl3744.lo ne_gnutls.lo -lz -lgnutls   -lpakchois   -L/usr/lib64 -lgssapi -lheimntlm -lkrb5 -lcom_err -L/usr/lib -lcrypto -lasn1 -lwind -lroken -lcrypt -ldl -lresolv -pthread -lproxy   -lexpat 
.libs/ne_auth.o: In function `get_cnonce':
/tmp/neon/src/ne_auth.c:319: undefined reference to `gcry_create_nonce'
.libs/ne_gnutls.o: In function `ne__ssl_init':
/tmp/neon/src/ne_gnutls.c:1373: undefined reference to `gcry_control'
/tmp/neon/src/ne_gnutls.c:1375: undefined reference to `gcry_control'
collect2: ld returned 1 exit status
make[1]: *** [] Error 1


Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the neon mailing list