<div dir="ltr">I'm running some problems atm witch don't allow me to test. <div><br></div><div>Well, if carrierroute built than you already have libconfuse-dev. Carrierroute uses libconfuse as a shared library. I would suggest doing a ldd carrieroute.so and than check that you have the confuse library needed as a carrierroute dependency in /usr/lib/. I found sometimes that there might be some symlinks missing in the system libraries dir, especially for something as 'deprecated' as libconfuse is. <div>
<br></div><div>Marius</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 20, 2013 at 6:16 PM, Aaron Seelye <span dir="ltr"><<a href="mailto:aseelye-lists@eltopia.com" target="_blank">aseelye-lists@eltopia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found I already had libconfuse, and installed libconfuse-dev, at which point I did another 'make deb', still getting the same result at the end. I just checked by running ldconfig -v, and the libconfuse library is indeed in there. I even rebuilt to make sure the ldconfig I just ran didnt affect anything. Same carrierroute.so size, same end result.<br>
<br>
Is something further needed to make kamailio incorporate the libconfuse files into the build process?<br>
<br>
-Aaron<div class="im"><br>
<br>
On 10/20/2013 5:12 AM, Marius Zbihlei wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hello,<br>
<br>
Have you installed libconfuse? the symbol is part of the library. Be<br>
sure that you install both libconfuse-dev (for header) and libconfuse<br>
(can't even remember if it's packed in Debian anymore).<br>
<br>
Make double sure the library is present in your $LD_LIBRARY_PATH .<br>
<br>
Anyway, some time ago there were plans to rewrite the configuration<br>
parsing of carrierroute so that it remove the dependencies of<br>
libconfuse? Any updates on that?<br>
<br>
M.<br>
<br>
<br>
On Sat, Oct 19, 2013 at 10:52 PM, Aaron Seelye<br></div><div class="im">
<<a href="mailto:aseelye-lists@eltopia.com" target="_blank">aseelye-lists@eltopia.com</a> <mailto:<a href="mailto:aseelye-lists@eltopia.com" target="_blank">aseelye-lists@eltopia.<u></u>com</a>>> wrote:<br>
<br>
On debian 7/wheezy, updated this morning, running kamailio 4.0.x<br>
(pulled this morning, git commit<br></div>
cabe585ea64c03d29bcdbe5c46b019<u></u>__0c41bf18a5), I'm running into an<div class="im"><br>
error loading carrierroute.so. After setting the loadmodule<br>
"carrierroute.so" in the configuration, and starting kamailio, I'm<br>
given the error:<br>
<br>
Not starting Kamailio: invalid configuration file!<br>
-e<br>
0(28740) ERROR: <core> [sr_module.c:572]: load_module(): ERROR:<br>
load_module: could not open module<br></div>
</usr/lib64/kamailio/modules/_<u></u>_carrierroute.so>:<br>
/usr/lib64/kamailio/modules/__<u></u>carrierroute.so: undefined symbol:<div class="im"><br>
cfg_set_error_function<br>
0(28740) : <core> [cfg.y:3567]: yyerror_at(): parse error in<br>
config file /etc/kamailio/kamailio.cfg, line 244, column 12-28:<br>
failed to load module<br>
0(28740) ERROR: <core> [modparam.c:163]: set_mod_param_regex():<br>
set_mod_param_regex: No module matching <carrierroute> found<br>
0(28740) : <core> [cfg.y:3570]: yyerror_at(): parse error in<br>
config file /etc/kamailio/kamailio.cfg, line 459, column 47: Can't<br>
set module parameter<br>
0(28740) ERROR: <core> [modparam.c:163]: set_mod_param_regex():<br>
set_mod_param_regex: No module matching <carrierroute> found<br>
0(28740) : <core> [cfg.y:3570]: yyerror_at(): parse error in<br>
config file /etc/kamailio/kamailio.cfg, line 460, column 90: Can't<br>
set module parameter<br>
ERROR: bad config file (3 errors)<br>
<br>
It starts fine without the carrierroute module (though I won't<br>
accomplish what I'd like to without it). I just subscribed to the<br>
list, so I can't reply to previous emails, but it looks like Oliver<br>
Roth is seeing the same thing at<br></div>
<a href="http://lists.sip-router.org/__pipermail/sr-users/2013-__October/080096.html" target="_blank">http://lists.sip-router.org/__<u></u>pipermail/sr-users/2013-__<u></u>October/080096.html</a><br>
<<a href="http://lists.sip-router.org/pipermail/sr-users/2013-October/080096.html" target="_blank">http://lists.sip-router.org/<u></u>pipermail/sr-users/2013-<u></u>October/080096.html</a>>.<div class="im"><br>
I saw a message from august that was vague regarding possibly<br>
something similar on CentOS needing libconfuse, but having installed<br>
that and remade/installed the debs, that doesn't appear to be it.<br>
<br>
At this point I'm fairly stuck, and would love a tip in the right<br>
direction.<br>
<br>
TIA,<br>
<br>
-Aaron<br>
<br></div>
______________________________<u></u>___________________<div class="im"><br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br></div>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a> <mailto:<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-<u></u>router.org</a>><br>
<a href="http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users" target="_blank">http://lists.sip-router.org/__<u></u>cgi-bin/mailman/listinfo/sr-__<u></u>users</a><br>
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a>><div class="im"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>