freeswitch ODBC error: ODBC NOT AVAILABLE!
报错
[CRIT] switch_core_sqldb.c:433 Failure! ODBC NOT AVAILABLE!
意思是odbc不可用
1.首先检查unixODBC与unixODBC-devel安装是否有问题,在看下isql -v DSN是否能连接上
Check you have the unixodbc development package installed when building (usually unixodbc-dev or unixodbc-devel).
2.如果安装都没问题,那就可能是安装时没有./configure --enable-core-odbc-support,在进入freeswitch源码目录下,执行重新make&& make install就OK了
It should be auto-detected if installed, but to be sure run configure with the --enable-core-odbc-support to force it to look for it, that'll should then give you an error if it can't find it.