Re: BUG #3744: libpq.a missed from /lib directory

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Lorenzo Fiorini <lorenzo(dot)fiorini(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3744: libpq.a missed from /lib directory
Date: 2007-11-12 08:43:05
Message-ID: 20071112084305.GB10213@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Nov 12, 2007 at 08:14:16AM +0000, Lorenzo Fiorini wrote:
>
> The following bug has been logged online:
>
> Bug reference: 3744
> Logged by: Lorenzo Fiorini
> Email address: lorenzo(dot)fiorini(at)gmail(dot)com
> PostgreSQL version: 8.3 beta2
> Operating system: Windows 2000
> Description: libpq.a missed from /lib directory
> Details:
>
> In the 8.2.5 there is a libpq.a in the lib dir that allow to link libpq to
> Windows apps built with mingw.
>
> In the 8.3 beta 2 it seems missed.

This is by design. 8.3 is build with Visual C++ instead of mingw, which of
course doesn't generate the nonstandard .a files.
If you're linking against it with mingw, IIRC you can link directly against
the DLL. If that doesn't work, there are tools out there to generate import
libraries from the DLL file.

//Magnus

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2007-11-12 08:47:02 Re: BUG #3744: libpq.a missed from /lib directory
Previous Message Heikki Linnakangas 2007-11-12 08:32:25 Re: BUG #3737: lower/upper fails to match extended chars in LATIN1