[freetds] missing libtdsodbc.so
James K. Lowden
jklowden at freetds.org
Thu Apr 5 19:35:16 EDT 2007
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
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,
should produce the file:
$ find . -name 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.
More information about the FreeTDS