Skip to Content.
Sympa Menu

freetds - Re: [freetds] configure: error: sql.h not found

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] configure: error: sql.h not found
  • Date: Wed, 6 Aug 2008 10:49:12 -0400

Nicholas Parry wrote:
>
> configure: error: sql.h not found
>
> I've looked on a few forums, and I have unixodbc-devel and unixodbc
> installed, and the sql.h file is in my /usr/include dir.
>
> This is my configure parameter:
>
> ./configure --with-unixodbc=/usr/include

You want:

./configure --with-unixodbc=/usr

You're telling configure that unixODBC is installed in /usr, with the
header files in /usr/include and the libraries in /usr/lib.

You might not need the option at all. I would hope configure would find
it automatically.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page