Re: problem with odbc include files

From: Alexaki Sofia <alexaki(at)ics(dot)forth(dot)gr>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: problem with odbc include files
Date: 2001-11-15 14:51:31
Message-ID: Pine.GSO.4.33.0111151637330.14266-100000@athena.ics.forth.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christof Petig 2001-11-16 09:09:05 Re: postgresql ODBC access question
Previous Message Peter Eisentraut 2001-11-15 12:58:58 Re: Static library for libpq?