Am 28.01.2014 20:40, schrieb KT Walrus:
>> http://access.thelounge.net/harry/gmime-2.6.19-1.fc19.20140115.rh.src.rpm
> 
> I got exactly the same errors in the build:
> 
> .../gmime/.libs/libgmime-2.6.so: undefined reference to `g_mutex_init'
> .../gmime/.libs/libgmime-2.6.so: undefined reference to `g_mutex_clear’
> 
> A quick Google search seems to indicate that these were introduced in glibc 
> after the version that Redhat 6 uses.  Looking at the gmime source for 2.5.3 
> and 2.6.19, it looks like gmime didn’t use mutexes in the older version so I 
> removed the g_mutex calls in the 2.6.19 source and it built fine.

> I removed the g_mutex calls in the 2.6.19 source and it built fine

don't do such things - Debian also thought they can patch
around in the OpenSSL sources leading to one of the biggest
security problems of the last decade

> Does dbmail need gmime to be re-entrant/thread safe?

thread safe for sure - dbmail-imapd is multi-threaded and there
where bugs in the past (not gmime related) where sometimes under
mixed load message parts from a different user appeared, that is
what happens in the worst case

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to