[Freeswitch-users] Problems with ODBC

fidibus83 fidibus83 at aol.com
Tue Jan 6 05:59:23 PST 2009


Hello,

 

I need your help again!

 

I want to use ODBC in javascripts.

 

First I installed unixodbc and I did all the steps what are mentioned in
wiki: mod spidermonkey odbc.

 

But when I test my ODBC Setup by running isql I get this error:

[ISQL]ERROR: Could not SQLConnect

 

And I can’t start FS. I get this Error:

./freeswitch: error while loading shared libraries: libodbc.so.1: cannot
open shared object file: No such file or directory

 

I uncomment:

 

conf/autoload_configs/spidermonkey.conf.xml

<load module="mod_spidermonkey_odbc"/>
 
build/modules.conf

languages/mod_spidermonkey_odbc

 

 

Here my configurations:

 

odbc.ini

 

[fs01_odbc]

Driver=MySQL

SERVER=localhost

PORT=3306

DATABASE=freeswitch

Socket= /var/run/mysqld/mysqld.sock

 

odbcinst.ini

 

[MySQL]

Description = ODBC for MySQL

Driver = /usr/local/lib/libodbc.so

UsageCount = 1

 

Can you help me? What do I wrong?

 

Thanks!

 

Regards, fidibus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090106/8bd71056/attachment.html 


More information about the Freeswitch-users mailing list