From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Reduce dependancies of postmaster (without --as-needed) |
Date: | 2005-11-28 21:49:12 |
Message-ID: | E1Egqs4-00012g-9U@lerami.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
On Nov 28 2005, Martijn van Oosterhout wrote:
> On Mon, Nov 28, 2005 at 10:18:08AM -0500, Tom Lane wrote:
> > Pulling those out is just not a good idea; we'd never have included them
> > in the first place if they weren't needed on some platforms. A lot of
> > these system libraries are very hard to test for in a reasonable way.
> > For instance, IIRC the reason libBSD is needed on HP-UX is that it
> > provides POSIX-compatible signal behavior. The same functions exist in
> > libc ... but they work differently :-(
>
> Yeah, but pulling them in when they're not needed is a waste also. I'm
> sure that a lot of platforms have -lnsl but I doubt many need it given
> it's for NIS/YP support. libBSD doesn't bother me as much because it's
> not going to exist on 99% of platforms.
-lnsl is needed on SVR4 derivatives, like Solaris and UnixWare. it is the
network services library.
You'll needed it for ANY socket based code on these platforms.
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2005-11-28 21:52:30 | Re: Reduce dependancies of postmaster (without --as-needed) |
Previous Message | Martijn van Oosterhout | 2005-11-28 21:36:23 | Re: Reduce dependancies of postmaster (without --as-needed) |