Re: Linking Win32 applications with libpq - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: Linking Win32 applications with libpq
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7497@Herge.rcsinc.local
Whole thread Raw
In response to Linking Win32 applications with libpq  ("Vidyasagara Guntaka" <vguntaka@candera.com>)
List 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
could
> 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
Borland.

Merlin

pgsql-hackers-win32 by date:

Previous
From: "Vidyasagara Guntaka"
Date:
Subject: Linking Win32 applications with libpq
Next
From: "Tony and Bryn Reina"
Date:
Subject: Compiling beta2 with openssl on XP Pro