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

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
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 21:54:27
Message-ID: 14456.1133214867@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Larry Rosenman <ler(at)lerctr(dot)org> writes:
> -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.

Is there any specific function symbol we can test for in that library?
If it exports something like socket() or connect() on SVR4, we can make
configure probe for that instead of blindly including the library.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2005-11-28 22:07:41
Subject: Re: Reduce dependancies of postmaster (without --as-needed)
Previous:From: Andrew DunstanDate: 2005-11-28 21:52:30
Subject: Re: Reduce dependancies of postmaster (without --as-needed)

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