I am trying to compile a simple C program on an UNIX machine which just has sql.h header statement to make sure that odbc headers are working.
But Im keep on getting this error.
error: sql.h: A file or directory in the path name does not exist
#include<stdio.h>
#include<sql.h>
main(){
}
I used this code because no matter what I put inside the Main fuction, the header itself fails.
But I have installed ODBCUnix . Here are the commands which shows ODBC status.
/apps/rmb/scripts$odbcinst --version unixODBC 2.3.0
odbcinst -j unixODBC 2.3.0 DRIVERS............: /etc/odbcinst.ini SYSTEM DATA SOURCES: /etc/odbc.ini FILE DATA SOURCES..: /etc/ODBCDataSources USER DATA SOURCES..: /etc/odbc.ini SQLULEN Size.......: 8 SQLLEN Size........: 8 SQLSETPOSIROW Size.: 8
Please advise how to compile this simple program .