[Freeswitch-users] Error loading ODBC

David Knell dave at 3c.co.uk
Fri Sep 26 05:46:33 EDT 2008


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* <intralanman at freeswitch.org 
> <mailto:intralanman at freeswitch.org>> 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 <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 <http://www.freeswitch.org/>
>>          
>>
>>
>>
>>
>>     -- 
>>     Preetha.A
>>      
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     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 <http://www.freeswitch.org/>
>>       
>
>     _______________________________________________
>     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 <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
>   


-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080926/16bab796/attachment-0001.html 


More information about the Freeswitch-users mailing list