Is ODBC compiled in or not?
Is there a way to tell if ODBC has been compiled into the FS core? Maybe there's a log file left over from the make somewhere?
Hi, You have config.log in the source directory $ grep ODBC /usr/local/src/freeswitch/config.log | #define HAVE_ODBC 1 | #define HAVE_LIBODBC 1 HAVE_ODBC_FALSE='' HAVE_ODBC_TRUE='' ODBC_INC_DIR='/usr/include' ODBC_INC_FLAGS='-I/usr/include' ODBC_LIB_DIR='yes' ODBC_LIB_FLAGS='-Wl,-lodbc' #define HAVE_ODBC 1 #define HAVE_LIBODBC 1 The last two should what you are looking for. Rgds, Claus On Thu, 13 Jun 2013, Alex Lake wrote:
Is there a way to tell if ODBC has been compiled into the FS core?
Maybe there's a log file left over from the make somewhere?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
libfreeswitch contains a switch_odbc_available() function You can also check if include/switch_platform.h contains "#define SWITCH_HAVE_ODBC 1" -Steve On 13 June 2013 11:28, Alex Lake <alex@digitalmail.com> wrote:
Is there a way to tell if ODBC has been compiled into the FS core?
Maybe there's a log file left over from the make somewhere?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Alex Lake
-
Claus Andersen
-
Steven Ayre