[unixODBC-support] Having trouble finding sql.h (include files)

Nick Gorham nick.gorham at easysoft.com
Tue Jun 21 17:48:56 BST 2005

Sunitha Kambhampati wrote:

> Hello,
> I am trying to get an odbc application to work on linux that has 
> unixODBC installed.  I have got to the point where  I can create db2 
> datasource and connect to it using isql.  I have a simple program 
> pretty much taken from one example on the site ( odbc.c) , but  during 
> compiling, it does not find sql.h.  Doing a find on the system shows 
> that only the db2 install has sql.h etc files. 
> My question is -
> 1) should unixODBC install give me all the header files necessary like 
> sql.h, sqlext.h  ?


> 2) if so,  maybe the install of unixODBC didnt happen correctly , how 
> can I verify this.
Depends on how it was installed. If its from source I would expect you 
to have the headers. If it was from RPM's then you need to install the 
devel RPM.

Nick Gorham
Easysoft Limited

More information about the unixODBC-support mailing list