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

James K. Lowden jklowden at freetds.org
Wed Aug 6 10:49:12 EDT 2008

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.  



More information about the FreeTDS mailing list