apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Rossi <bob_ro...@cox.net>
Subject Re: dbd pgsql autotools patch
Date Tue, 20 May 2008 21:14:28 GMT
On Wed, May 21, 2008 at 06:59:53AM +1000, Bojan Smojver wrote:
> On Tue, 2008-05-20 at 06:55 -0400, Bob Rossi wrote:
> 
> > OK, I can try this, however, this patch still doesn't work on windows. I
> > get link errors on windows because the the libs aren't linked in.
> > 
> > $ ./pg_config --libs
> > -lpgport -lm -lSecur32 -lws2_32 -lshfolder
> > 
> > $ ./pg_config --libdir
> > C:/msys/1.0/.../POSTGR~1/POSTGR~1.1/lib
> > 
> > So, if the --libs is not provided on windows, then it doesn't link.
> > Sorry to be such a pain, I don't know what else we could do here.
> > 
> > This is from the pgsql-bugs list:
> > 
> >   Well, if you are linking statically, you might as well refer to
> >   pg_config --libs, or any other infinite list of libraries you can dream of.
> >   The main reason why this is discouraged for dynamic linking is that this
> >   creates unnecessary package dependencies.  But for static linking, it sounds
> >   OK to me.  I guess we have never really bothered to carefully specify the
> >   static case.
> 
> OK, not a problem. We'll whack libs in there too.

Thanks! Let me know, I'll test it out.

Bob Rossi

Mime
View raw message