Skip to Content.
Sympa Menu

freetds - Re: [freetds] Freetds,unixODBC,RH Ent Linux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Freetds,unixODBC,RH Ent Linux
  • Date: Fri, 20 Aug 2004 20:29:15 -0400

On Fri, 20 Aug 2004 Rob.Walls AT HILL.af.mil wrote:
> I think my problem may be no ODBC driver (.so file). There are many
> lib*odbc*.so files in /usr/lib, but no libtdsodbc.so file.
> So, I tried to compile FreeTDS with
> ./configure --with-tdsver=7.0 --with-unixodbc,
> But many errors occur, apparently because there's no sql.h, sqlext.h or
> odbcinst.h on the system.
...
> For all I know, unixODBC may be the problem. The freetds docs talk about
> installing the Driver Manager BEFORE trying to compile. I'm not sure
> what that is or where to get it, but I though the ODBCConfig stuff would
> be the driver manager. Anyway, I'm hoping someone here can point me
> toward the answer.

Hi Rob, and welcome to the project.

Your driver manager is unixODBC. It has to be installed somewhere before
you build FreeTDS, if you want to it to manage your FreeTDS ODBC driver.
When you build FreeTDS, the configure script will look in the usual places
for the ODBC header files (provided by unixODBC). If you installed them
in some unusual place, you'll want to indicate that to FreeTDS's configure
script, like so:

$ ./configure --with-unixodbc=/robs/favorite/place

configure will then expect to find e.g. sql.h in
/robs/favorite/place/include.

If your unixODBC distribution didn't come with header files, you might
need a -devel rpm or something.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page