[SR-Users] Error loading carrierroute in Kamailio 4.0.x
Marius Zbihlei
mariuszbi at gmail.com
Sun Oct 20 21:19:06 CEST 2013
I'm running some problems atm witch don't allow me to test.
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.
Marius
On Sun, Oct 20, 2013 at 6:16 PM, Aaron Seelye <aseelye-lists at eltopia.com>wrote:
> 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.
>
> Is something further needed to make kamailio incorporate the libconfuse
> files into the build process?
>
> -Aaron
>
>
> On 10/20/2013 5:12 AM, Marius Zbihlei wrote:
>
>> Hello,
>>
>> Have you installed libconfuse? the symbol is part of the library. Be
>> sure that you install both libconfuse-dev (for header) and libconfuse
>> (can't even remember if it's packed in Debian anymore).
>>
>> Make double sure the library is present in your $LD_LIBRARY_PATH .
>>
>> Anyway, some time ago there were plans to rewrite the configuration
>> parsing of carrierroute so that it remove the dependencies of
>> libconfuse? Any updates on that?
>>
>> M.
>>
>>
>> On Sat, Oct 19, 2013 at 10:52 PM, Aaron Seelye
>> <aseelye-lists at eltopia.com <mailto:aseelye-lists at eltopia.**com<aseelye-lists at eltopia.com>>>
>> wrote:
>>
>> On debian 7/wheezy, updated this morning, running kamailio 4.0.x
>> (pulled this morning, git commit
>> cabe585ea64c03d29bcdbe5c46b019**__0c41bf18a5), I'm running into an
>>
>> error loading carrierroute.so. After setting the loadmodule
>> "carrierroute.so" in the configuration, and starting kamailio, I'm
>> given the error:
>>
>> Not starting Kamailio: invalid configuration file!
>> -e
>> 0(28740) ERROR: <core> [sr_module.c:572]: load_module(): ERROR:
>> load_module: could not open module
>> </usr/lib64/kamailio/modules/_**_carrierroute.so>:
>> /usr/lib64/kamailio/modules/__**carrierroute.so: undefined symbol:
>>
>> cfg_set_error_function
>> 0(28740) : <core> [cfg.y:3567]: yyerror_at(): parse error in
>> config file /etc/kamailio/kamailio.cfg, line 244, column 12-28:
>> failed to load module
>> 0(28740) ERROR: <core> [modparam.c:163]: set_mod_param_regex():
>> set_mod_param_regex: No module matching <carrierroute> found
>> 0(28740) : <core> [cfg.y:3570]: yyerror_at(): parse error in
>> config file /etc/kamailio/kamailio.cfg, line 459, column 47: Can't
>> set module parameter
>> 0(28740) ERROR: <core> [modparam.c:163]: set_mod_param_regex():
>> set_mod_param_regex: No module matching <carrierroute> found
>> 0(28740) : <core> [cfg.y:3570]: yyerror_at(): parse error in
>> config file /etc/kamailio/kamailio.cfg, line 460, column 90: Can't
>> set module parameter
>> ERROR: bad config file (3 errors)
>>
>> It starts fine without the carrierroute module (though I won't
>> accomplish what I'd like to without it). I just subscribed to the
>> list, so I can't reply to previous emails, but it looks like Oliver
>> Roth is seeing the same thing at
>> http://lists.sip-router.org/__**pipermail/sr-users/2013-__**
>> October/080096.html<http://lists.sip-router.org/__pipermail/sr-users/2013-__October/080096.html>
>> <http://lists.sip-router.org/**pipermail/sr-users/2013-**
>> October/080096.html<http://lists.sip-router.org/pipermail/sr-users/2013-October/080096.html>
>> >.
>>
>> I saw a message from august that was vague regarding possibly
>> something similar on CentOS needing libconfuse, but having installed
>> that and remade/installed the debs, that doesn't appear to be it.
>>
>> At this point I'm fairly stuck, and would love a tip in the right
>> direction.
>>
>> TIA,
>>
>> -Aaron
>>
>> ______________________________**___________________
>>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-**router.org<sr-users at lists.sip-router.org>
>> >
>> http://lists.sip-router.org/__**cgi-bin/mailman/listinfo/sr-__**users<http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users>
>> <http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>> >
>>
>>
>>
>>
>>
>> ______________________________**_________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>
>>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131020/d24633db/attachment-0001.html>
More information about the sr-users
mailing list