Thanks for pointing out Daniel, It's not in modules.conf.xml it's in the source directory's build/modules.conf.in - which source to compile to create the mod_spidermonkey_odbc.so, i.e. languages/mod_spidermonkey_odbc The problem is, when i run make all install, it's not creating the .so
See the error message: 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*** is there a way to compile and install this module separately? -- Regards, Gayatri Kulkarni On Mon, Oct 6, 2008 at 9:01 PM, Daniel-Constantin Mierla <[EMAIL PROTECTED]>wrote: > Hello, > > On 10/06/08 16:42, Gayatri Kulkarni wrote: > > Hi all, > > > > I want to 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: > > > > 1. First download and install unixodbc. See below > > <http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc> > > if you are struggling with this step. Make sure to install > > headers, libraries and source for the unixodbc library set. > > 2. In the FreeSWITCH source directory, uncomment the > > |languages/mod_spidermonkey_odbc| line within the > > |build/modules.conf| file. > > 3. 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? > The line to load the |mod_spidermonkey_odbc has to be in > |spidermonkey.conf.xml, not in modules.conf.xml. > > The info is somewhere there on the wiki, I missed it as well some time > ago ... > > Cheers, > Daniel > > -- > Daniel-Constantin Mierla > http://www.asipto.com > > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org