<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Preetha,<br>
<br>
You've probably not compiled the module. Have a look in
/usr/src/freeswitch (or wherever your source is); you'll<br>
find a modules.conf there. Uncomment the line
'langages/mod_spidermonkey_odbc', rebuild, reinstall and things<br>
might get better.<br>
<br>
--Dave<br>
<blockquote
cite="mid:383d84e10809260227t1581c9b3jce72d6cc3f8457ce@mail.gmail.com"
type="cite">
<div>yes, I did ./configure --enable-core-odbc-support &&
make && make install.When i gave make install during
installation,i found the following error:</div>
<div> </div>
<div>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<br>
**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open
shared object file: No such file or directory**<br>
<br>
Thanks<br>
</div>
<div><span class="gmail_quote">On 9/25/08, <b
class="gmail_sendername">Raymond Chandler</b> <<a
moz-do-not-send="true" href="mailto:intralanman@freeswitch.org">intralanman@freeswitch.org</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">if you built from source,
make sure you use the --enable-core-odbc-support option on your
./configure<br>
<br>
like so<br>
./configure --enable-core-odbc-support && make && make
install<br>
<pre cols="72">-Ray</pre>
<br>
<br>
preetha Ayyappan wrote:
<blockquote type="cite">
<div><span class="e" id="q_11c9a03ff5ed4f1f_1">
<div dir="ltr">You mean i have to uncomment the line <load
module="mod_spidermonkey_odbc"/>.?<br>
yes.I have uncommented that line.eventhough the same error occurs<br>
<br>
<div class="gmail_quote">On Thu, Sep 25, 2008 at 2:33 PM, Michael
Jerris <span dir="ltr"><<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
On Sep 25, 2008, at 4:47 AM, preetha wrote:<br>
<br>
><br>
> Hi,<br>
> when i try to run a sample odbc code from freeswitch console like<br>
> freeswitch@localhost> jsrun odbc.js<br>
><br>
> I found the following error:<br>
> API CALL [jsrun(odbc.js)] output:<br>
> OK<br>
><br>
> freeswitch@localhost> 2008-09-25 19:44:35 [ERR]
mod_spidermonkey.c:<br>
> 3303<br>
> js_api_use() Error loading ODBC<br>
> 2008-09-25 19:44:35 [ERR] odbc.js:11 mod_spidermonkey()<br>
> ReferenceError:<br>
> ODBC is not defined<br>
><br>
<br>
</div>
Make sure you have mod_spidermonkey_odbc loaded in your<br>
spidermonkey.conf.xml file<br>
<br>
Mike<br>
<div>
<div><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Preetha.A<br>
</div>
</span></div>
<pre><hr size="4" width="90%"><span class="q">
_______________________________________________
Freeswitch-users mailing list
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
</span></pre>
</blockquote>
</div>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Preetha.A
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 3002 7257 M: 001 415 630 3031
<a class="moz-txt-link-freetext" href="http://www.3c.co.uk">http://www.3c.co.uk</a> </pre>
</body>
</html>