[OpenSER-Devel] libpurple integration problem

Eric PTAK eric.ptak.fr at gmail.com
Wed Jan 9 14:00:22 UTC 2008


I think dependencies are done.
More informations about purple_plugin_register function : it's a purple core
function and it's called within ssl.so which is a purple plugin. Of course,
it's well defined in the core !

here is the ldd output :



eptak at rd-srv-devlnx2:/usr/src/openser-1.3.0-notls$ ldd
/usr/local/lib/purple-2/ssl*.so
/usr/local/lib/purple-2/ssl-gnutls.so:
        linux-gate.so.1 =>  (0xffffe000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7ef1000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7eee000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7eeb000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7ee7000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e62000)
        libgnutls.so.12 => /usr/lib/libgnutls.so.12 (0xb7df9000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7dad000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7d98000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7d85000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d73000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c43000)
        /lib/ld-linux.so.2 (0x80000000)
        libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0xb7c33000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7c1f000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7c1b000)
/usr/local/lib/purple-2/ssl-nss.so:
        linux-gate.so.1 =>  (0xffffe000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7ee5000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7ee2000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7edf000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7edb000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e56000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e41000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7e2e000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e1c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7ced000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/local/lib/purple-2/ssl.so:
        linux-gate.so.1 =>  (0xffffe000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7f77000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7f74000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f71000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7f6d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ee8000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7ed3000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7ec0000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7eae000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d7f000)
        /lib/ld-linux.so.2 (0x80000000)





2008/1/9, Klaus Darilion <klaus.mailinglists at pernau.at>:
>
> Are you sure you have linked against libssl and libssl is in the library
> path? Use "ldd" to verify the dependencies of your module.
>
> regards
> klaus
>
> Eric PTAK schrieb:
> > Hi everyone,
> >
> > 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.
> >
> >     [output omitted]
> >     (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 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 ?
> >
> > About my openser configuration, I've built it from 1.3 sources (without
> > tls) and I only load those modules :
> > (in order) mysql, sl, maxfwd, textops, tm, rr, avpops, mi_fifo, usrloc,
> > registrar, xlog, and of course my purple module.
> >
> >
> > Thanks for help you should give me ;)
> >
> > Eric.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20080109/70009604/attachment.htm 


More information about the Devel mailing list