Received: from smtp.cistron-office.nl (10fwd.cistron-office.nl [195.64.65.197]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2FCYfx97425 for ; Thu, 15 Mar 2001 07:34:41 -0500 (EST) (envelope-from jtv@cistron-office.nl) Received: from slipstream.cistron-office.nl ([195.64.65.252]) by smtp.cistron-office.nl with smtp (Exim 3.22 #1 (Debian)) id 14dWxc-0001HB-00; Thu, 15 Mar 2001 13:34:32 +0100 Received: by slipstream.cistron-office.nl (sSMTP sendmail emulation); Thu, 15 Mar 2001 13:34:32 +0100 From: "J. T. Vermeulen" Date: Thu, 15 Mar 2001 13:34:32 +0100 To: =?iso-8859-1?Q?St=E9phane?= EVEILLARD Cc: "J. T. Vermeulen" , pgsql-interfaces@postgresql.org Subject: Re: Big trouble with libpq++ Message-ID: <20010315133432.E6118@cistron.nl> Mail-Followup-To: =?iso-8859-1?Q?St=E9phane?= EVEILLARD , "J. T. Vermeulen" , pgsql-interfaces@postgresql.org References: <007b01c0ad1b$1be5ef70$1001000a@arianeii.com> <20010315130713.C6118@cistron.nl> <008e01c0ad4c$c05aa6a0$1001000a@arianeii.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: <008e01c0ad4c$c05aa6a0$1001000a@arianeii.com>; from steff33@ifrance.com on Thu, Mar 15, 2001 at 01:37:26PM +0100 X-Disclaimer: Include standard disclaimer here. X-Archive-Number: 200103/132 X-Sequence-Number: 1293 On Thu, 15 Mar 2001, Stéphane EVEILLARD wrote: > Sorry, I mean PQexec and I am linking statically . Okay, that makes things a little easier. It appears that the Makefile doesn't do much to account for static linking; the only dependency on libpq that is specified is through SHLIB_LINK which AFAIK is meant for dynamic libs only. 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++. HTH! Jeroen