Skip to Content.
Sympa Menu

freetds - Re: [freetds] missing libtdsodbc.so

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] missing libtdsodbc.so
  • Date: Thu, 5 Apr 2007 19:35:16 -0400

JENNI WOLGAST wrote:
> So then I started looking for libtdsodbc.so and found that it didn't
> exist anywhere on my system. That's when I tried re-installing each part
> several more times including trying to use the /usr/local/unixODBC and
> /usr/local/freetds folders as installation destinations but nothing so
> far has produced a libtdsodbc.so file I can point to in odbc.ini...

OK, you seem to really want ODBC, so let me try to help you get there.

Where are the unixODBC header files installed? You should find e.g.
sqlext.h somewhere. I'll guess it's in /usr/local/include for the sake of
illustration. It's probably somewhere else, because if it were there,
FreeTDS should have found it automatically.

Normally, when you say

$ ./configure

the script will find your unixodbc installation and build libtdsodbc.so
automatically. When it's not clever enough to do that, you say

$ ./configure --with-unixodbc=/usr/local

This tells the configure script to look in /usr/local/include for the
header files and in /usr/local/lib for libraries.

After you run configure as above,

$ make

should produce the file:

$ find . -name libtdsodbc.so
./src/odbc/.libs/libtdsodbc.so

(Note that the .libs directory is ordinarly not displayed by ls(1).)

Then "make install" and you're on your way.

> Thanks for your help by the way!!!

Not at all. We all begin at the beginning.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page