Re: ANNOUNCE: balsa-2.0.17 released

Am 29.03.04 14:44 schrieb(en) Mario Mikocevic:
> Now question, _should_ I be doing this patch at all ?

If you link balsa against libpthread (i.e. you did not disable threads  
during configure), but also against libgpgme instead of libgpgme-pthread,  
the resulting binary *may* work, but most likely it's somewhat unstable. I  
*strongly* discourage doing that!!

Correct threading support has been a long standing issue with gpgme,  
giving random crashes and/or hangs on some systems. With the introduction  
of libgpgme-pthread (and libgpgme-pth, if you use gnu pth), this has  
apparently been resolved. Just to quote from Marcus Brinkmann's announce  
of gpgme 0.4.3:

Noteworthy changes in version 0.4.3 (2003-10-06)

 * libgpgme should not be used for threaded programs anymore.  This
   never worked reliably in all cases, because you had to
   be careful about the linking order and libtool wouldn't do that for
   you automatically.  Instead, now you have to link against
   libgpgme-pthread for applications using pthread and libgpgme-pth for
   applications using GNU Pth.

   The old code for automagically detecting the thread library is
   still part of libgpgme, but it is DEPRECATED.
[end quote]

So you have two safe options:

* re-configure balsa without threading support (I see from the compiler  
error that use it currently) **or**

* re-build gpgme so you have libgpgme-pthread. This lib has been  
introduced with gpgme 0.4.3, which is the earliest version you can use  
with balsa 2.0.

In any case, *please* do not disable linking against libgpgme-pthread in, this is a setup problem of the build system, not of balsa!



 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -

PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]