Installing FreeTDS

Before you begin your installation, verify that unixODBC is not already installed on your machine. If it is, uninstall the existing version of unixODBC.

StepsInstalling and configuring FreeTDS

  1. 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.

  2. 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
    
  3. 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.