Re: Linking app to PgSQL

From: "Steve Wolfe" <steve(at)iboats(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Linking app to PgSQL
Date: 2001-09-27 19:36:15
Message-ID: 001c01c1478b$c2496260$50824e40@iboats.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> To access the back end of PostgreSQL using C++, according to Bruce
> Monjian, the author of "PostgreSQL Introduction and concept", one must
> include 'libpq++.h' in the source file, link the app to '-L
> /usr/local/pgsql/include' as well as interfacing to '-I
> /user/local/pgsql/include'.
> However, the directories for the linking and interfacing do not exist in
> my systems. Thus my question:
> How do I determine where are the files that I have to Interface and Link
> located?

It sounds like you're on a RedHat system, and they will be in other
locations, I just don't recall where RH puts them. Try "locate libpq*.h".
Failing that, you can always do 'find / -name libpq*.h -print', but that
will defenitely take longer.

steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message zammon@libero.it 2001-09-27 19:41:45 Re: what is wrong with this SQL?
Previous Message Bruce Momjian 2001-09-27 19:35:09 Re: How to make a REALLY FAST db server?