Link to home
Start Free TrialLog in
Avatar of Lia Nungaray
Lia NungarayFlag for United States of America

asked on

Installing FreeTDS

I'm installing FreeTDS on Fedora Core 5 to access MSSQL 2000. I followed the steps detailed in unixODBC.org and got stuck. This is what I did:

1. Downloaded the FreeTDS installation file freetds-current.tgz.
2. Unpacked the source using:
#tar zxvf freetds-current.tgz
3. Built FreeTDS using the following commands:
#./configure --with-tdsver=8.0 --with-unixodbc=/usr/local
#make
#make install

The instructions then indicated to look for a file named libtdsodbc.so under /usr/local/freetds/lib, but no such file exists.  The instructions then ask to create a file named tds.driver.template which uses this libtdsodbc.so file, so I don't know where to go from here. I'm a complete newbie to Linux, so I need detailed instructions, most of the tutorials that I've found on the Internet are pretty hard to read for a Microsoft junkie like me. Any help will be appreciated. Thanks!
Avatar of ravenpl
ravenpl
Flag of Poland image

--with-unixodbc=/usr/local
says the lib (.so) file should be found in /usr/local/lib - check there.
Avatar of Lia Nungaray

ASKER

I reread the instructions and it says to install unixODBC first. I'm in the middle of doing this right now, but I'm sure I'll get stuck. I'll post my issues in a few more minutes...C++ compiler and library
ASKER CERTIFIED SOLUTION
Avatar of slyong
slyong

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_1239314
Member_2_1239314

With Fedora Core 5, you should always try to find the RPM package for FreeTDS, as this will help you immensely and prevent you from getting into dependencies problems. Mostly, these RPMS should be available on the Fedora site on the internet. Once you get familiar with Linux, then you can get into compiling the code from source.