Sorry, it was my fault, looks like I've mixed stable and dev libs together, after removing libs and make install - I don't see any undefined symbol's.<br><br><br><div class="gmail_quote">2012/12/5 Konstantin M. <span dir="ltr"><<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you, it helps. <br>However while calling load_textops_api() I have no linking errors but have: app_python.so: undefined symbol: fm_malloc<div class="HOEnZb">
<div class="h5"><br><br><br><div class="gmail_quote">2012/12/5 Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That is because the textops module doesn't export an api for other modules.<br>
Take a look at sl: bind_sl(). Here the sl module is exporting an api<br>
to be used by other modules.<br>
Then the sca module is binding to that api and to use it: sca_bind_sl().<br>
<br>
Something similar must be implemented by textops and app_python.<br>
Hope this helps. If you have any other questions, let us know.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div><br>
On Wed, Dec 5, 2012 at 11:53 AM, Konstantin M. <<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>> wrote:<br>
> Hi dev team,<br>
><br>
> I have a question, how to link to modules_k/textops ? Since it is not static<br>
> build and no libxxxxx.so, it can't link, and I'm getting:<br>
> 0(16884) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not<br>
> open module </opt/kamailio/lib/kamailio/modules/app_python.so>:<br>
> /opt/kamailio/lib/kamailio/modules/app_python.so: undefined symbol:<br>
> is_method_f<br>
> Is there a way to trick that without changing a code of module(s) ?<br>
<br>
</div></div>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>