Re: Win32 mingw libpq.dll

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, <iharding(at)wimpenny(dot)com>
Cc: "PostgreSQL Win32 port list" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Win32 mingw libpq.dll
Date: 2004-02-18 15:45:30
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B28D@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

> > I am not posting to a newsgroup because I don't have
> membership in any
> > but -general and this seems more -specific.
> >
> > I have msys and mingw working fine.
> >
> > I want to try out libpqxx but can't build it without having libpq
> > installed. So, I tried downloading postgresql 7.4.1 source and
> > extracting it in my msys install under /usr/local/. Then I did
> > ./configure --without-zlib, then cd to src/interfaces/libpq and did
> > make. All goes fine, but I end up with only libpq.a.
> >
> > What do I need to do (short of buying MS Visual Studio .NET) to get
> > libpq.dll to build?
>
> I don't know the the difference between a *.a and a *.dll.
> Can any Win32 guys can answer this?

*.a is a static library (.lib in the MS world)
*.dll is a dynamic library (.so in the unix world)

I'm not (ATM) using the client side libpq compiled with mingw at the
moment (still using an older "proven working" build, to make sure the
client is not to blame for the win32 errors showing up), so I can't help
you on why it doesn't build.

//Magnus

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2004-02-18 15:47:44 Re: Win32 mingw libpq.dll
Previous Message Bruce Momjian 2004-02-18 15:31:11 Re: Win32 mingw libpq.dll