[OpenSER-Devel] libpurple integration problem

Henning Westerholt henning.westerholt at 1und1.de
Wed Jan 9 11:42:47 UTC 2008


On Wednesday 09 January 2008, Eric PTAK wrote:
> I'm currently making an openser module which act as IM client using
> libpurple, the pidgin library. I already posted on pidgin list but I also
> try here.
>
> Well, I've started by testing a simplified nullclient (with one hard coded
> account) which works fine. I'm now trying to integrate it in an openser
> subprocess but it crashes during purple_core_init process with a
> segmentation violation signal dropped.

Hi Eric,

> > (10:04:20) plugins: probing /usr/local/lib/purple-2/ssl.so
> > (10:04:20) plugins: /usr/local/lib/purple-2/ssl.so is not loadable:
> > undefined symbol: purple_plugin_register
> > Jan  9 10:04:20 [8707] INFO:core:handle_sigs: child process 8712 exited
> > by a signal 11
> > [output omitted]

the ssl.so shared lib is not loadable from your module, causes that the 
register function is not defined, and this probably crashes later on the 
openser module.

> The first two lines are purple debug, and the third is from openser.
> Process with pid 8712 is the one running purple.
> One of my theory, is that purple ssl plugin try to load a shared library
> already loaded by openser, maybe gnutls ?

OpenSER links against openssl, if compiled with TLS, gnuTLS is not supported 
yet. I would look into the error from the purple lib.

Cheers,

Henning



More information about the Devel mailing list