<div dir="ltr">Hi all,<br><br>I want to connect to a remote database using javascript.<br>When i searched the WIki I got this page: <a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#SpiderMonkey_ODBC">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. <a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc" title="">See below</a> 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 <code>languages/mod_spidermonkey_odbc</code> line within the <code>build/modules.conf</code> 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 style="font-family: courier new,monospace;">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 style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open shared object file: No such file or directory**</span><br style="font-family: courier new,monospace;"><br clear="all">
Will my script run inspite of this?<br>What am i not doing - something i should do more?<br><br>-- <br>Regards,<br>Gayatri Kulkarni<br>
</div>