[Help-gnutls] GNU TLS 2.2.4 installation

Rajitha Reddy RReddy at mocana.com
Tue Nov 11 23:17:57 CET 2008

Hi Daniel,

Thanks so much for the information. I will install GNU TLS 2.6.0.

Yes, I am using Cygwin. Can I install it on linux if that's easier?

I followed the link http://cygwin.com/packages/gnutls/ and tried to download the following:

#  gnutls-2.4.1-1
# gnutls-2.4.1-1-src

But, the links further in #  gnutls-2.4.1-1 are not enabled.

So, the error I got is as follows:

/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o libgcrypt.la -rpath /usr/l
ocal/lib  -version-info 12:1:1 libgcrypt_la-misc.lo libgcrypt_la-global.lo libgc
rypt_la-sexp.lo libgcrypt_la-stdmem.lo libgcrypt_la-secmem.lo libgcrypt_la-missi
ng-string.lo libgcrypt_la-module.lo libgcrypt_la-ath.lo ../cipher/libcipher.la .
./mpi/libmpi.la -L/usr/local/lib -lgpg-error

*** Warning: This system can not link to static lib archive /usr/local/lib/libgp
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
rm -fr .libs/libgcrypt.lax
mkdir .libs/libgcrypt.lax
rm -fr .libs/libgcrypt.lax/libcipher.a
mkdir .libs/libgcrypt.lax/libcipher.a
(cd .libs/libgcrypt.lax/libcipher.a && ar x /cygdrive/c/Documents and Settings/Desktop/libgcrypt-1.2.0.tar/libgcrypt-1.2.0/libgcrypt-1.2.0/src/../cipher/
ar: /cygdrive/c/Documents: No such file or directory
make[2]: *** [libgcrypt.la] Error 9
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/Desktop/li
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Desktop/li
make: *** [all] Error 2


Hopefully, the error message is readable now.


-----Original Message-----
From: Daniel Kahn Gillmor [mailto:dkg at fifthhorseman.net]
Sent: Tuesday, November 11, 2008 2:08 PM
To: Rajitha Reddy
Cc: GnuTLS mailing list
Subject: Re: [Help-gnutls] GNU TLS 2.2.4 installation

Hi Rajitha--

On Tue 2008-11-11 16:48:32 -0500, Rajitha Reddy wrote:

> Can anyone help me with an installation error in GNU TLS?
> I am trying to install GNU TLS 2.2.4. Since it requires Libgcrypt
> which inturn requires libgpg-error, I have first installed libgpg
> error 1.0 and then, am trying to install Libgcrypt 1.2.0. Following is
> the error I am seeing when doing a "make" on Libgcrypt.

The linewrap in your transcript was very odd.  I had difficulty reading it.  But it looks like you're using cygwin.  Is there a reason not to use the prebuilt cygwin gnutls packages?


Also, GnuTLS 2.2 is fairly old.  You might prefer a more recent version.  Please make sure that you track the project, though, as the current security advisory dust settles.



More information about the Gnutls-help mailing list