<html><body bgcolor="#FFFFFF"><div>That error seemsto indicatethat unixodbc is not installed or not correctly installed.</div><div><br></div><div>Mike<br><br>On Jan 6, 2009, at 8:59 AM, "fidibus83" <<a href="mailto:fidibus83@aol.com">fidibus83@aol.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<div class="Section1">
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial">Hello,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt; font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">I need your help again!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">I want to use ODBC in javascripts.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">First I installed unixodbc and I did all the steps
what are mentioned in wiki: mod spidermonkey odbc.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">But when I test my ODBC Setup by running isql I get
this error:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">[ISQL]ERROR: Could not SQLConnect<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">And I can’t start FS. I get this Error:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">./freeswitch: error while loading shared libraries:
libodbc.so.1: cannot open shared object file: No such file or directory<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">I uncomment:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><i><font size="3" face="Times New Roman"><span lang="EN-GB" style="font-size:12.0pt;font-style:italic">conf/autoload_configs/spidermonkey.conf.xml<o:p></o:p></span></font></i></p>
<pre><font size="2" face="Courier New"><span lang="EN-GB" style="font-size:10.0pt"><load module="mod_spidermonkey_odbc"/><o:p></o:p></span></font></pre><pre><font size="2" face="Courier New"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></font></pre><pre><code><i><font size="2" face="Courier New"><span lang="EN-GB" style="font-size:10.0pt;font-style: italic">build/modules.conf</span></font></i></code><i><span lang="EN-GB" style="font-style:italic"><o:p></o:p></span></i></pre>
<p class="MsoNormal"><code><font size="2" face="Courier New"><span lang="EN-GB" style="font-size:10.0pt">languages/mod_spidermonkey_odbc</span></font></code><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Here my configurations:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">odbc.ini<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">[fs01_odbc]<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Driver=MySQL<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">SERVER=localhost<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">PORT=3306<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">DATABASE=freeswitch<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Socket= /var/run/mysqld/mysqld.sock<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">odbcinst.ini<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">[MySQL]<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Description = ODBC for MySQL<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Driver = /usr/local/lib/libodbc.so<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">UsageCount = 1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Can you help me? What do I wrong?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Thanks!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Regards, fidibus<o:p></o:p></span></font></p>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Freeswitch-users mailing list</span><br><span><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>