That error seemsto indicatethat unixodbc is not installed or not correctly installed.

Mike

On Jan 6, 2009, at 8:59 AM, "fidibus83" <fidibus83@aol.com> wrote:

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

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org