Hi Preetha,

You've probably not compiled the module. Have a look in /usr/src/freeswitch (or wherever your source is); you'll find a modules.conf there. Uncomment the line 'langages/mod_spidermonkey_odbc', rebuild, reinstall and things
might get better.

--Dave
yes, I did ./configure --enable-core-odbc-support && make && make install.When i gave make install during installation,i found the following error: 2008-09-26 19:37:19 [CRIT] switch_loadable_module.c:767 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open shared object file: No such file or directory**

Thanks
On 9/25/08, *Raymond Chandler* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    if you built from source, make sure you use the
    --enable-core-odbc-support option on your ./configure

    like so
    ./configure --enable-core-odbc-support && make && make install

    -Ray



    preetha Ayyappan wrote:
    You mean i have to uncomment the line  <load
    module="mod_spidermonkey_odbc"/>.?
    yes.I have uncommented that line.eventhough the same error occurs

    On Thu, Sep 25, 2008 at 2:33 PM, Michael Jerris <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:


        On Sep 25, 2008, at 4:47 AM, preetha wrote:

        >
        > Hi,
        > when i try to run a sample odbc code from freeswitch console
        like
        > [EMAIL PROTECTED]> jsrun odbc.js
        >
        > I found the following error:
        > API CALL [jsrun(odbc.js)] output:
        > OK
        >
        > [EMAIL PROTECTED]> 2008-09-25 19:44:35 [ERR]
        mod_spidermonkey.c:
        > 3303
        > js_api_use() Error loading ODBC
        > 2008-09-25 19:44:35 [ERR] odbc.js:11 mod_spidermonkey()
        > ReferenceError:
        > ODBC is not defined
        >

Make sure you have mod_spidermonkey_odbc loaded in your
        spidermonkey.conf.xml file

        Mike


        _______________________________________________
        Freeswitch-users mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
        UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
        http://www.freeswitch.org <http://www.freeswitch.org/>



-- Preetha.A ------------------------------------------------------------------------

    _______________________________________________
    Freeswitch-users mailing list
    [email protected] 
<mailto:[email protected]>
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
    UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
    http://www.freeswitch.org <http://www.freeswitch.org/>

    _______________________________________________
    Freeswitch-users mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
    UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
    http://www.freeswitch.org <http://www.freeswitch.org/>




--
Preetha.A
------------------------------------------------------------------------

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


--
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to