Before you begin your installation, verify that unixODBC is not already installed on your machine. If it is, uninstall the existing version of unixODBC.
Installing and configuring FreeTDS
Obtain FreeTDS, download and unzip the source code. Sybase recommends that you use the latest version of FreeTDS, which is fully compatible with ODBC 3.0.
Go to the FreeTDS source code directory; for example, /usr/tmp, and execute:
./configure --prefix=$JAGUAR/freetds \ --with-tdsver=5.0\ --with-unixodbc=$JAGUAR/unixodbc
Compile the source code by executing:
make make install
The compilation process adds the library, libtdsodbc.so into $JAGUAR/freetds/lib. The FreeTDS installation is complete.