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@eltopia.com> wrote:
On debian 7/wheezy, updated this morning, running kamailio 4.0.x (pulled this morning, git commit cabe585ea64c03d29bcdbe5c46b0190c41bf18a5), 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.  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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users