Sorry, it was my fault, looks like I&#39;ve mixed stable and dev libs together, after removing libs and make install - I don&#39;t see any undefined symbol&#39;s.<br><br><br><div class="gmail_quote">2012/12/5 Konstantin M. <span dir="ltr">&lt;<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>&gt;</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">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</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&#39;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. &lt;<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>&gt; wrote:<br>
&gt; Hi dev team,<br>
&gt;<br>
&gt; I have a question, how to link to modules_k/textops ? Since it is not static<br>
&gt; build and no libxxxxx.so, it can&#39;t link, and I&#39;m getting:<br>
&gt;  0(16884) ERROR: &lt;core&gt; [sr_module.c:572]: ERROR: load_module: could not<br>
&gt; open module &lt;/opt/kamailio/lib/kamailio/modules/app_python.so&gt;:<br>
&gt; /opt/kamailio/lib/kamailio/modules/app_python.so: undefined symbol:<br>
&gt; is_method_f<br>
&gt; 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>