<div dir="ltr">Thanks for pointing out Daniel,<br><br>It's not in modules.conf.xml<br>it's in the source directory's build/<a href="http://modules.conf.in">modules.conf.in</a> - which source to compile to create the mod_spidermonkey_odbc.so, i.e. languages/mod_spidermonkey_odbc <br>
The problem is, when i run <span style="font-family: courier new,monospace;">make all install</span>, it's not creating the .so<br><br>See the error message:<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;">
<b><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></b><br><br>is there a way to compile and install this module separately?<br>
<br clear="all"><br>-- <br>Regards,<br>Gayatri Kulkarni<br><br><div class="gmail_quote">On Mon, Oct 6, 2008 at 9:01 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.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;">Hello,<br>
<div class="Ih2E3d"><br>
On 10/06/08 16:42, Gayatri Kulkarni wrote:<br>
> Hi all,<br>
><br>
> I want to connect to a remote database using javascript.<br>
> When i searched the WIki I got this page:<br>
> <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>
</div>> 1. First download and install unixodbc. See below<br>
> <<a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc" target="_blank">http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc</a>><br>
<div class="Ih2E3d">> if you are struggling with this step. Make sure to install<br>
> headers, libraries and source for the unixodbc library set.<br>
</div>> 2. In the FreeSWITCH source directory, uncomment the<br>
<div class="Ih2E3d">> |languages/mod_spidermonkey_odbc| line within the<br>
> |build/modules.conf| file.<br>
</div>> 3. Compile core odbc support into freeswitch.<br>
<div class="Ih2E3d">><br>
> ./configure --enable-core-odbc-support<br>
> make all install<br>
><br>
> The ./configure doesnt give any error nor does the build<br>
><br>
> When i restart freeswitch, i can see this:<br>
> 2008-10-06 19:01:43 [ERR] mod_spidermonkey.c:928 sm_load_file() Error<br>
> Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so<br>
> **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open<br>
> shared object file: No such file or directory**<br>
><br>
> Will my script run inspite of this?<br>
> What am i not doing - something i should do more?<br>
</div>The line to load the |mod_spidermonkey_odbc has to be in<br>
|spidermonkey.conf.xml, not in modules.conf.xml.<br>
<br>
The info is somewhere there on the wiki, I missed it as well some time<br>
ago ...<br>
<br>
Cheers,<br>
Daniel<br>
<br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
<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>
</blockquote></div><br><br>
</div>