pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: J. T. Vermeulen <jtv@cistron-office.nl>
Cc: Stéphane EVEILLARD <steff33@ifrance.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Big trouble with libpq++
Date: Thu, 15 Mar 2001 10:50:12 -0500
Message-ID: <13832.984671412@sss.pgh.pa.us> (raw)
In-Reply-To: <20010315133432.E6118@cistron.nl>
References: <007b01c0ad1b$1be5ef70$1001000a@arianeii.com>
	<20010315130713.C6118@cistron.nl>
	<008e01c0ad4c$c05aa6a0$1001000a@arianeii.com>
	<20010315133432.E6118@cistron.nl>

"J. T. Vermeulen" <jtv@cistron-office.nl> writes:
> You should be able to solve this either by linking dynamically, or if you
> want to stick with the static version, to link with libpq as well as libpq++.

Yes, for a static link you should say
	-lpq++ -lpq
not only -lpq++.  Actually, I'd tend to do that for a dynamic link
too... can't hurt.

			regards, tom lane



view thread (5+ messages)

Message-ID: <13832.984671412@sss.pgh.pa.us>
Permalink:  ../13832.984671412@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13832.984671412@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jtv@cistron-office.nl, steff33@ifrance.com
  Subject: Re: Big trouble with libpq++
  In-Reply-To: <13832.984671412@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox