<div dir="ltr">Guys,<br>I am now having this problem:<br>when i run my script i get this error -<br><br><span style="font-family: courier new,monospace;">freeswitch@fedora&gt; 2008-10-07 17:27:24 [ERR] switch_odbc.c:160 switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified</span><br style="font-family: courier new,monospace;">
<br>my .<u>./etc/odbc.ini</u> looks like this:<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[postgres]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Driver = PostgreSQL</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SERVER = localhost</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">PORT = 5432</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">DATABASE = postgres</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">UserName = &lt;username&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Password = &lt;password&gt;</span><br style="font-family: courier new,monospace;"><br>and .<u>./etc/odbcinst.ini:</u><br><span style="font-family: courier new,monospace;">[ODBC]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Trace = yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TraceFile = /tmp/trace.log</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[PostgreSQL]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Description&nbsp;&nbsp;&nbsp;&nbsp; = PostgreSQL driver</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr/local/lib/libodbpsql.so</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Setup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr/local/lib/libodbpsqlS.so</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">UsageCount&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1000000</span><br style="font-family: courier new,monospace;"><br>-- <br>Regards,<br>Gayatri Kulkarni<br><br><div class="gmail_quote">On Tue, Oct 7, 2008 at 11:32 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</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="">thats because you don&#39;t load it in modules.conf.xml you load it in&nbsp;conf/autoload_configs/spidermonkey.conf.xml<div>
<br></div><font color="#888888"><div>/b</div></font><div class="Ih2E3d"><div><br><div><div>On Oct 7, 2008, at 12:52 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;">Still the same :(<br>
It builds installs the shard library at {prefix}/freeswitch/lib directory<br>while all the modules .so files are in {prefix}/freeswitch/mod directory<br>If i copy the shared library to the mod directory, i get an error saying<span>&nbsp;</span><span>Invalid ELF Header</span><span>&nbsp;</span>!!<br>
<br>--<span>&nbsp;</span><br>Regards,<br>Gayatri Kulkarni</span></blockquote></div><br></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>
</div>