Problem with libgcrypt maybe because of libgnutls

Paul Salters psalters at
Wed May 16 11:33:15 CEST 2012

On 16 May 2012 11:18, Nikos Mavrogiannopoulos <nmav at> wrote:
> On Tue, May 15, 2012 at 9:54 AM, Paul Salters <psalters at> wrote:
>> Dear mailinglist members,
>> I have an problem with my application. My application is using the
>> xmlrpc-c library ( that library is
>> using the curl library which is using the gnutls library which is
>> using libgcrypt. (So far so good?)
> Hello,
>  Libgcrypt requires mutex locks to be setup by the end application. I
> don't know if curl does it already for you, but if it doesn't you
> should set them up.
> If you use gnutls 2.12.0 or later you need not to perform any of these
> actions because the system mutexes are used by default.
> regards,
> Nikos

Thank you for answer!

I have add the following lines of code to my application.

gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);

But the error still remains.


Paul Salters

More information about the Gnutls-help mailing list