[freetds] Freetds,unixODBC,RH Ent Linux

James K. Lowden jklowden at schemamania.org
Fri Aug 20 20:29:15 EDT 2004

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

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



More information about the FreeTDS mailing list