<div dir="ltr">I did that too<br>I missed to mention it here<br><br><div class="gmail_quote">On Mon, Oct 6, 2008 at 9:03 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</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 style="">Your missing enable the module in spidermonkey.conf.xml<div><div></div><div class="Wj3C7c">
<div><br></div><div><br><div><div>On Oct 6, 2008, at 9:42 AM, Gayatri Kulkarni wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">connect to a remote database using javascript.<br>
When i searched the WIki I got this page:<span>&nbsp;</span><a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#SpiderMonkey_ODBC" target="_blank">http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#SpiderMonkey_ODBC</a><br>
I did the steps what are mentioned there, namely:<br><br><ol><li>First download and install unixodbc.<span>&nbsp;</span><a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc" title="" target="_blank">See below</a><span>&nbsp;</span>if you are struggling with this step. Make sure to install headers, libraries and source for the unixodbc library set.</li>
<li>In the FreeSWITCH source directory, uncomment the<span>&nbsp;</span><code>languages/mod_spidermonkey_odbc</code><span>&nbsp;</span>line within the<span>&nbsp;</span><code>build/modules.conf</code><span>&nbsp;</span>file.</li><li>Compile core odbc support into freeswitch.</li>
</ol><pre>./configure --enable-core-odbc-support<br> make all install<br></pre>The ./configure doesnt give any error nor does the build<br><br>When i restart freeswitch, i can see this:<br><span>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</span><br>
<span>**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open shared object file: No such file or directory**</span><br><br clear="all">Will my script run inspite of this?<br>What am i not doing - something i should do more?</span></blockquote>
</div><br></div></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Gayatri Kulkarni<br>
</div>