<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 1/25/10 1:14 PM, Denis Putyato wrote:
<blockquote cite="mid:008101ca9db7$ed404a70$c7c0df50$@ru" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"๓ิมฮฤมาิฮูส HTML ๚ฮมห";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTML
        {mso-style-name:"๓ิมฮฤมาิฮูส HTML ๚ฮมห";
        mso-style-priority:99;
        mso-style-link:"๓ิมฮฤมาิฮูส HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US">Danial,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US">Jan 25 15:14:18 ubuntutest kamailio: ERROR: <core>
[sr_module.c:390]: ERROR: load_module: could not open module
</usr/local/lib/kamailio/modules_k/drouting.so>:
/usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol: qm_free<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US">Jan 25 15:14:18 ubuntutest kamailio: : <core>
[cfg.y:3326]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg,
line 42, column 12-24: failed to load module</span></p>
</div>
</blockquote>
<br>
have you compiled everything? Seems module is compiled with db malloc...<br>
<br>
Do:<br>
<br>
make proper<br>
make all<br>
make install<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:008101ca9db7$ed404a70$c7c0df50$@ru" type="cite">
<div class="Section1">
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US"><o:p></o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
Daniel-Constantin Mierla
[<a class="moz-txt-link-freetext" href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>] <br>
<b>Sent:</b> Monday, January 25, 2010 12:11 PM<br>
<b>To:</b> Denis Putyato<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</a><br>
<b>Subject:</b> Re: [Kamailio-Users] load drouting<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
On 1/25/10 9:06 AM, Denis Putyato wrote: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello everybody!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Such error happens when I try
start kamailio</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Jan 25 10:52:57 ubuntutest
kamailio: ERROR:
<core> [sr_module.c:390]: ERROR: load_module: could not open
module
</usr/local/lib/kamailio/modules_k/drouting.so>:
/usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol:
db_bind_mod</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Jan 25 10:52:57 ubuntutest
kamailio: :
<core> [cfg.y:3326]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 42, column 12-24: failed to
load
module</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">the
Makefile from module didn't have links to some core libs introduced in
3.0.0. I
did the fix in git, do a git pull origin and try again. Let me know if
works
now.<br>
<br>
Thanks,<br>
Daniel<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">ls
/usr/local/lib/kamailio/modules_k/</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">acc.so
db_text.so group.so
nathelper.so
pv.so
sl.so uac_redirect.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">alias_db.so
dialog.so
htable.so nat_traversal.so
qos.so
sms.so uac.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">auth_db.so
dispatcher.so
imc.so
path.so ratelimit.so
speeddial.so uri_db.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">auth_diameter.so
diversion.so
kex.so
pdt.so
registrar.so sqlops.so userblacklist.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">auth.so
domainpolicy.so maxfwd.so
permissions.so
rr.so
sst.so usrloc.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">benchmark.so
domain.so mi_datagram.so
pike.so
rtimer.so statistics.so xlog.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">call_control.so
drouting.so
mi_fifo.so presence_mwi.so
siptrace.so textops.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">cfgutils.so
exec.so
msilo.so pua_mi.so
siputils.so tmx.so</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">In config file:</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadpath
"/usr/local/lib/kamailio/modules:/usr/local/lib/kamailio/modules_k"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "db_mysql.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "mi_fifo.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "sl.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "tm.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "rr.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "pv.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "textops.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "siputils.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "xlog.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "acc.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "avpops.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "siptrace.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "dialplan.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "lcr.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "sqlops.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "carrierroute.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule "drouting.so"</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Kamailio ver 3.0 was
installed from GIT.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for any help</span><o:p></o:p></p>
<pre><o:p></o:p></pre>
<pre><o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Kamailio (OpenSER) - Users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre>* <a moz-do-not-send="true" href="http://www.asipto.com/">http://www.asipto.com/</a><o:p></o:p></pre>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>