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

Re: Linking Win32 applications with libpq

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Vidyasagara Guntaka" <vguntaka(at)candera(dot)com>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Linking Win32 applications with libpq
Date: 2004-09-01 18:41:09
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3412A7497@Herge.rcsinc.local (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
> Hi,
> I recently downloaded PostgreSQL native port for Windows.  I could not
> find libpq.lib.  I am trying to link my win32 application with libpq
> statically.  How can I link libpq statically to my application?  I
> not find libpqdll.lib either to link dynamically.  But there is a
> libpq.dll in the distribution.
> Thank you very much in advance,
> Sagar.

What's your application build environment?  If you are using visual
studio use it to build libpq and it produces a .lib file.  Same for


pgsql-hackers-win32 by date

Next:From: Tony and Bryn ReinaDate: 2004-09-01 18:48:46
Subject: Compiling beta2 with openssl on XP Pro
Previous:From: Vidyasagara GuntakaDate: 2004-09-01 18:15:09
Subject: Linking Win32 applications with libpq

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