Re: Win32 libpq : Static Link ?

"Magnus Hagander" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
I've built with the static libs on MingW, but it's been a while since I did it with MSVC. It's asking specifically for libpq.dll? Or is it some other DLL? And if libpq, which exports is it looking for? (Use depends.exe from the support tools to find out)

//Magnus 

> -----Original Message-----
> From: Oliver D. [mailto:[email protected]] 
> Sent: Monday, October 04, 2004 8:00 AM
> To: [email protected]
> Subject: Re: [pgsql-hackers-win32] Win32 libpq : Static Link ?
> 
> I'm completely stuck with this issue. I just want to know if 
> some Win32 developer has been able to links statically 
> against libpq (using libpq.lib). Even if I apparently could 
> compile the static lib, the program that try to link against 
> still ask for a .dll.
> 
> Any help would be appreciated.
> 
> Thank you very much.
> 
> Oliver.
> 
> 
> Le 1 oct. 04, à 23:16, Oliver D. a écrit :
> 
> > We are experiencing troubles trying to link -statically- against 
> > libpq.lib on Windows (VC++ 7).
> >
> > Our app works great when we link against libpq.dll but we can't get 
> > the same result  with libpq.lib. The app seems to 
> continuously ask for 
> > a dll.
> >
> > We have compiled 7.4.X libpq on Win32 but still can't get a static 
> > link.
> >
> > Have some windows experienced developers already been able to link 
> > against libpq.lib with VC++ ?
> >
> > Thank you for your help.
> >
> > Oliver
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 
> 

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.