Re: Reduce dependancies of postmaster (without --as-needed)

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Reduce dependancies of postmaster (without --as-needed)
Date: 2005-11-28 22:47:38
Message-ID: E1Egrmc-0005Om-FC@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Nov 28 2005, Tom Lane wrote:

> Larry Rosenman <ler(at)lerctr(dot)org> writes:
> >> -lnsl is needed on SVR4 derivatives, like Solaris and UnixWare. it is
> >> the network services library.
>
> > libsocket requires libnsl:
>
> > [1] NEEDED /usr/lib/libnsl.so.1
>
> Hmmm ... but given that, is it needed to mention libnsl in the link
> command at all, or can the linker pick it up implicitly?

I'm not 100% sure if the linker does the right thing or not :(

It would be a good thing to test.

I can make a shell account available (Tom, you actually have one on
the box that output is from).

LER

>
> regards, tom lane
>

--
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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-28 22:53:24 Re: Reduce dependancies of postmaster (without --as-needed)
Previous Message Tom Lane 2005-11-28 22:31:55 Re: Reduce dependancies of postmaster (without --as-needed)