[gnutls-dev] gnutls's sonames

Tim Ringenbach tim.ringenbach at comcast.net
Sat Mar 12 16:00:05 CET 2005

Matthias Urlichs wrote:
> Hi,
> Thanks for the explanation. So you'd ship many versions of your lib,
> linked against different gnutls versions, and then use the one that
> actually works on the system in question -- correct?

Yeah that's the current plan. Except it's a plugin, not a library. So 
gaim is g_module_open()ing (which is just glib's dlopen wrapper) all the 
plugins it finds anyway. The loading would just fail all but the plugin 
who's version of gnutls is installed.

Alternatively, I could just build one plugin and have the plugin dlopen 
gnutls, trying several versions it knows it works with. I could even use 
Mike Hearn's relaytool to do this without having to change the code to 
use function pointers anyway. But the other gaim developers seem to 
think the multiple gnutls plugins approch is better.


More information about the Gnutls-devel mailing list