On Mon, Nov 28, 2005 at 04:47:38PM -0600, Larry Rosenman wrote:
> >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). 

If you have a compiled source tree you can go to the backend directory
and run the commands I posted. After deleting the postgres executable

make LIBS="-lsocket -lm" postgres

and see what kind of errors you get. In theory only dynamic loading
related symbols should be missing. I've gone through the CVS repository
to work out which platforms needed which lib before the use of autoconf
started. With some indication of what symbols are actually in the libs
in question we can refine the autoconf setup.

Thanks in advance,
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment: pgpdK0alh22QI.pgp
Description: PGP signature

Reply via email to