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(a)eltopia.com <mailto:aseelye-lists@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>.
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(a)lists.sip-router.org <mailto:sr-users@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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users