Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group