?
Solved

Installing FreeTDS

Posted on 2006-06-22
4
Medium Priority
?
1,145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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