Installation guide
Installing FreeTDS
72
EAServer
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.
❖ Installing and configuring FreeTDS
1 Obtain FreeTDS at http://www.freetds.org, 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.
Configuring ODBC
This section provides additional information on configuring ODBC data
sources using the drivers installed with EAServer.
Before you begin:
1 Ensure that TDSQUERY and DSQUERY environment variables are set to
null.
2 Remove .odbc.ini file from the user home directory, if it exists. Otherwise,
this may affect the attributes defined file in
$JAGUAR/unixODBC/odbc.ini.