[sr-dev] linking question

Ovidiu Sas osas at voipembedded.com
Wed Dec 5 18:23:46 CET 2012


That is because the textops module doesn't export an api for other modules.
Take a look at sl: bind_sl().  Here the sl module is exporting an api
to be used by other modules.
Then the sca module is binding to that api and to use it: sca_bind_sl().

Something similar must be implemented by textops and app_python.
Hope this helps.  If you have any other questions, let us know.

Regards,
Ovidiu Sas

On Wed, Dec 5, 2012 at 11:53 AM, Konstantin M. <evilzluk at gmail.com> wrote:
> Hi dev team,
>
> I have a question, how to link to modules_k/textops ? Since it is not static
> build and no libxxxxx.so, it can't link, and I'm getting:
>  0(16884) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not
> open module </opt/kamailio/lib/kamailio/modules/app_python.so>:
> /opt/kamailio/lib/kamailio/modules/app_python.so: undefined symbol:
> is_method_f
> Is there a way to trick that without changing a code of module(s) ?



More information about the sr-dev mailing list