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

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 (view raw or flat)
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

pgsql-bugs by date

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

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