Ubuntu Build: Libnettle 2.1 vs Libnettle 3

Jeffrey Walton noloader at gmail.com
Wed Nov 17 21:41:33 CET 2010

On Wed, Nov 17, 2010 at 9:25 AM, Simon Josefsson <simon at josefsson.org> wrote:
> Brad Hards <bradh at frogmouth.net> writes:
>> On Wednesday, November 17, 2010 08:59:06 pm Jeffrey Walton wrote:
>>> $ apt-cache pkgnames | grep nettle
>>> libnettle1
>>> libnettle3
>>> nettle-bin
>>> nettle-dbg
>>> nettle-dev
>>> libnettle-dev
>>> $ sudo apt-get install libnettle3
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> libnettle3 is already the newest version.
>> This is nothing to do with gnutls. Debian (and derivatives, such as Ubuntu)
>> name packages according to convention. You can find this convention if you
>> search for it, but the important part here is that if you want to compile
>> something, you want the -dev variant.
>> That is, install libnettle-dev.
> Note that libnettle3 is version 2.0 on at least debian squeeze:
> jas at latte:~$ apt-cache show libnettle3|grep Version
> Version: 2.0-2
> jas at latte:~$
> The 3 in libnettle3 is the ABI version, not the release version.
Thanks man! Its not the first time I've been mistaken about versions,
and I'm sure it won't be the last.

I've always had a difficult time with Linux versioning, especially on
modules which have been back-patched in piecemeal fashion. An exercise
left to the reader: what version of OpenSSL are you *really* running?


More information about the Gnutls-devel mailing list