Re: [DOCS] error in makefile for libpq++ examples

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: bbravat(at)hss(dot)hns(dot)com
Cc: docs(at)postgreSQL(dot)org
Subject: Re: [DOCS] error in makefile for libpq++ examples
Date: 2000-01-13 12:18:47
Message-ID: Pine.BSF.4.05.10001130716530.2944-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 13 Jan 2000 bbravat(at)hss(dot)hns(dot)com wrote:

> I just downloaded the recent postgres distribution of ver6.5.3. In its makefile
> for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails
> to compile the examples with gcc.
>
> I think it will be good idea to include information about INCLUDE directories,
> LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in
> libpq++ chapter of the programmer's manual.

Are you sure you have a complete install? -lpq is part of libpq++'s
build process, and LD_LIBRARY_PATH is part of the PostgreSQL installation.
What version are you using?

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message bbravat 2000-01-13 12:46:08 Re: [DOCS] error in makefile for libpq++ examples
Previous Message bbravat 2000-01-13 08:33:38 error in makefile for libpq++ examples