You need to first install unixodbc and it's related devel packages and then run configure and re build freeswitch.
On Aug 3, 2009, at 12:09 AM, "Thangappan.M" <[email protected]> wrote: > Dear all, > > I am not yet installed odbc in my machine for accessing the psql > database. I have got the following error while tried to load the > mod_lcr command. > > 2009-08-03 15:45:47 [ERR] switch_odbc.c:164 > switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC] > [Driver Manager]Data source name not found, and no default driver > specified > > 2009-08-03 15:45:47 [CRIT] mod_lcr.c:546 lcr_load_config() Cannot > Open ODBC Database! > 2009-08-03 15:45:47 [ERR] mod_lcr.c:985 mod_lcr_load() Unable to > load lcr config file > 2009-08-03 15:45:47 [CRIT] switch_loadable_module.c:839 > switch_loadable_module_load_file() Error Loading module /usr/local/ > freeswitch/mod/mod_lcr.so > **Module load routine returned an error** > > I have set the correct driver informations in the odbc.ini(/etc and / > home) and odbcinst.ini(/etc). > I have create the symbolic links in the /usr/loca/freeswitch/etc/ > > Where I made a problem? > > After some time I found that there is no spidermonket_odbc.so > file.This has been found while executing the freeswitch command. The > error is, > > 2009-08-03 15:26:06 [ERR] mod_spidermonkey.c:931 sm_load_file() > Error Loading module /usr/local/freeswitch/mod/ > mod_spidermonkey_odbc.so > **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open > shared object file: No such file or directory** > > So please help me? > I am doing this for more than 8 hours. > > > > > > -- > Regards, > Thangappan.M > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
