Skip site navigation (1) Skip section navigation (2)

Re: Big trouble with libpq++

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "J(dot) T(dot) Vermeulen" <jtv(at)cistron-office(dot)nl>
Cc: Stéphane EVEILLARD <steff33(at)ifrance(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Big trouble with libpq++
Date: 2001-03-15 15:50:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
"J. T. Vermeulen" <jtv(at)cistron-office(dot)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

In response to

pgsql-interfaces by date

Next:From: Patrick WelcheDate: 2001-03-16 19:51:24
Subject: Access datetime oddities
Previous:From: Karel ZakDate: 2001-03-15 15:38:48
Subject: Re: to_date problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group