[freetds] tdsodbc.h:26: sql.h: No such file or directory

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Jun 20 04:17:58 EDT 2005


> 
> Hello,
> 
> i've installed freetds package on FreeBSD by portage system. 
> There is no 
> problem, i could do it. But i cannot find libdbodbc library. 
> I decided 
> to install it from original source. Do you have any idea 
> about following 
> problem:
> 
> # ./configure --prefix=/usr --enable-sybase-compat --with-unixodbc
> # make
> 
> In file included from odbc.c:55:
> ../../include/tdsodbc.h:26: sql.h: No such file or directory
> ../../include/tdsodbc.h:27: sqlext.h: No such file or directory
> ../../include/tdsodbc.h:28: odbcinst.h: No such file or directory
> In file included from odbc.c:60:
> odbc_util.h:28: sql.h: No such file or directory
> odbc_util.h:29: sqlext.h: No such file or directory
> In file included from odbc.c:63:
> prepare_query.h:28: sql.h: No such file or directory
> prepare_query.h:29: sqlext.h: No such file or directory
> *** Error code 1
> 

You have to install unixODBC with development files (like includes) to
compile with unixODBC support.

freddy77



More information about the FreeTDS mailing list