Problem with libgcrypt maybe because of libgnutls

Nikos Mavrogiannopoulos nmav at
Wed May 16 11:44:29 CEST 2012

On Wed, May 16, 2012 at 11:33 AM, Paul Salters <psalters at> wrote:

> Thank you for answer!
> I have add the following lines of code to my application.
> gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
> gnutls_global_init();
> But the error still remains.

In that case you may have to debug the issue further and see why the
locks were not initialized and discuss with the libgcrypt guys. We
have dropped support of libgcrypt in our new releases, so what I can
do is to suggest that you use gnutls 2.12.x or even 3.0.x that do not
have such requirements.


More information about the Gnutls-help mailing list