cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3071038 ] curl fails to link against gnutls-2.11.1 using libnettle

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 19 Sep 2010 08:15:28 +0000

Bugs item #3071038, was opened at 2010-09-19 10:15
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3071038&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michał Górny ()
Assigned to: Daniel Stenberg (bagder)
Summary: curl fails to link against gnutls-2.11.1 using libnettle

Initial Comment:
By default, gnutls-2.11.1 uses libnettle instead of libgcrypt as a default crypto backend. If built in that configuration, it is no longer linked against libgcrypt.

curl however, when built with gnutls support, uses libgcrypt functions without linking in libgcrypt explicitly. Thus, with this new version of gnutls, it fails to build due to unresolved symbols 'gcry_*'.

The solution is to either drop dependency on libgcrypt functions completely or to depend on it explicitly, linking against it as well. In the latter case, it might be useful to separate the gcrypt dependency from gnutls in the configure options.

I'm attaching a build log for curl-7.21.1. I was able to reproduce the issue with today's git too.

http://bugs.gentoo.org/show_bug.cgi?id=337506

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3071038&group_id=976
Received on 2010-09-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET