[Freeswitch-users] Error loading ODBC

Raymond Chandler intralanman at freeswitch.org
Thu Sep 25 07:50:19 PDT 2008


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 <mike at jerris.com 
> <mailto:mike at jerris.com>> 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
>     > freeswitch at localhost> jsrun odbc.js
>     >
>     > I found the following error:
>     > API CALL [jsrun(odbc.js)] output:
>     > OK
>     >
>     > freeswitch at localhost> 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
>     Freeswitch-users at lists.freeswitch.org
>     <mailto:Freeswitch-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Preetha.A
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080925/fd96377b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list