How to compile GnuTLS for every posix operating system

Nikos Mavrogiannopoulos nmav at
Tue Feb 28 22:16:47 CET 2012

On 02/28/2012 12:55 PM, Peter Penzov wrote:

> I want to create secure server and client which use GnuTLS for encrypting
> the network communication. I want to deploy the clients on many Unix
> operating systems and many Linux distributions. I found that for example in
> Centos 5 and 6 the versions of GnuTLS which are by default installed are
> different versions. Maybe in other operating systems the version of GnuTLS
> is always different. One solutions will be to compile GnuTLS every time
> from source in order to have always the same version. Is it possible to
> compile it into one monolithic(including all dependent libraries)
> executable program and use it in every Posix operating system?

You can always static link.

More information about the Gnutls-help mailing list