Mine is in /usr/lib/x86_64-linux-gnu, if that has any bearing on it. Doing ldd carrierroute.so yielded the following, no mention of libconfuse.

        linux-vdso.so.1 =>  (0x00007fff573e6000)
libtrie.so.1 => /usr/lib64/kamailio/libtrie.so.1 (0x00007f23ddb77000) libsrdb1.so.1 => /usr/lib64/kamailio/libsrdb1.so.1 (0x00007f23dd961000)
        libkmi.so.1 => /usr/lib64/kamailio/libkmi.so.1 (0x00007f23dd758000)
libkcore.so.1 => /usr/lib64/kamailio/libkcore.so.1 (0x00007f23dd54d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f23dd1bb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f23ddfaf000)

Not sure exactly what this means, perhaps something in my carrierroute makefile is missing the need to link when building?

-Aaron


On 10/20/2013 12:19 PM, Marius Zbihlei wrote:
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-li...@eltopia.com
<mailto:aseelye-li...@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-li...@eltopia.com <mailto:aseelye-li...@eltopia.com>
        <mailto:aseelye-lists@eltopia.__com
        <mailto:aseelye-li...@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@lists.sip-router.org
        <mailto:sr-users@lists.sip-router.org>
        <mailto:sr-us...@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>

        <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@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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
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

Reply via email to