Re: problem with odbc include files - Mailing list pgsql-interfaces

From Alexaki Sofia
Subject Re: problem with odbc include files
Date
Msg-id Pine.GSO.4.33.0111151637330.14266-100000@athena.ics.forth.gr
Whole thread Raw
In response to Re: problem with odbc include files  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-interfaces
Thank you for your prompt reply.

In order to compile my program should I link the libpsqlodbc.so
library which is found in the lib directory of postgreSQL
instructions?

e.g.,
gcc example.c -I/proj/isl3/users/alexaki/postgresql/postgresql_install/include/iodbc
-L/proj/isl3/users/alexaki/postgresql/postgresql_install/lib

Do you know any URL I can find instructions about using PostgreSQL ODBC
interface in solaris?

Best Regards,
Sofia Alexaki

> > I am using Postgresql 7.1.2 on a solaris 2.8 platform.
> >
> > I try to compile an example that uses isql.h and isql.h
> > include files but a number or errors are reported
> > e.g. odbc_include/isql.h:15: parse error before `*'
>
> Do you include iodbc.h before isql.h ?
>
> regards,
> Hiroshi Inoue
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



pgsql-interfaces by date:

Previous
From: "Florence Lai"
Date:
Subject: postgresql and MS server 2000
Next
From: Christof Petig
Date:
Subject: Re: postgresql ODBC access question