[Freeswitch-users] ODBC through JS

Michael Jerris mike at jerris.com
Mon Oct 6 08:33:40 PDT 2008


Your missing enable the module in spidermonkey.conf.xml


On Oct 6, 2008, at 9:42 AM, Gayatri Kulkarni wrote:

> connect to a remote database using javascript.
> When i searched the WIki I got this page: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#SpiderMonkey_ODBC
> I did the steps what are mentioned there, namely:
>
> First download and install unixodbc. See below if you are struggling  
> with this step. Make sure to install headers, libraries and source  
> for the unixodbc library set.
> In the FreeSWITCH source directory, uncomment the languages/ 
> mod_spidermonkey_odbc line within the build/modules.conf file.
> Compile core odbc support into freeswitch.
> ./configure --enable-core-odbc-support
>  make all install
> The ./configure doesnt give any error nor does the build
>
> When i restart freeswitch, i can see this:
> 2008-10-06 19:01:43 [ERR] mod_spidermonkey.c:928 sm_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**
>
> Will my script run inspite of this?
> What am i not doing - something i should do more?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081006/7d6ff602/attachment-0002.html 


More information about the FreeSWITCH-users mailing list