0

RHEL5 Linux ODBC Issues

view story
linux-howto

http://stackoverflow.com – Am trying to move my compiled C code that connects to mssql database servers from using the datadirect odbc drivers to using the unixodbc driver manager (version 2.3.1)/ freetds drivers (version 0.91) which are already compiled for 64 bit and available. Am able to successfully compile it on 64 bit RHEL5 Linux by linking in libodbc which has already been compiled. But I get the error net.c:350: tds_select: Assertion 'timeout_seconds >= 0' failed multiple times when I run the code and the database connection fails. The environment variables I set are ODBCINI, ODBCHOME and LDD_LIBRARY_PATH (HowTos)