Re: BUG #3744: libpq.a missed from /lib directory - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #3744: libpq.a missed from /lib directory
Date
Msg-id 20071112084305.GB10213@svr2.hagander.net
Whole thread Raw
In response to BUG #3744: libpq.a missed from /lib directory  ("Lorenzo Fiorini" <lorenzo.fiorini@gmail.com>)
List 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.fiorini@gmail.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

pgsql-bugs by date:

Previous
From: "Lorenzo Fiorini"
Date:
Subject: BUG #3744: libpq.a missed from /lib directory
Next
From: Dave Page
Date:
Subject: Re: BUG #3744: libpq.a missed from /lib directory