Solved

Installing FreeTDS

Posted on 2006-06-22
4
1,106 Views
Last Modified: 2013-12-15
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!
0
Comment
Question by:horalia
4 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 16961395
--with-unixodbc=/usr/local
says the lib (.so) file should be found in /usr/local/lib - check there.
0
 

Author Comment

by:horalia
ID: 16961585
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
0
 
LVL 24

Accepted Solution

by:
slyong earned 500 total points
ID: 16974150
Hi horalia,

Thanks for the points on the other side and just cut and paste the same comment here:

use the FreeTDS rpm from Dries RPM? http://dries.studentenweb.org/rpm/packages/freetds/info.html

It solves you the dependencies problem.  Yum configuration instruction for Dries is here http://dries.studentenweb.org/rpm/clientconfig.html
0
 
LVL 9

Expert Comment

by:gtkfreak
ID: 16977811
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.

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now