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@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@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@localhost> jsrun odbc.js
>
> I found the following error:
> API CALL [jsrun(odbc.js)] output:
> OK
>
> freeswitch@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



--
Preetha.A
 

_______________________________________________ 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




--
Preetha.A