[2664] in Kerberos_V5_Development
Re: -lsocket, -lnsl
daemon@ATHENA.MIT.EDU (Assar Westerlund)
Sat Oct 25 02:49:57 1997
To: John Hawkinson <jhawk@MIT.EDU>
Cc: "Theodore Y. Ts'o" <tytso@MIT.EDU>, Ezra Peisach <epeisach@MIT.EDU>,
krbdev@MIT.EDU
From: Assar Westerlund <assar@sics.se>
Date: 25 Oct 1997 07:50:27 +0100
In-Reply-To: John Hawkinson's message of "Sat, 25 Oct 1997 00:47:39 -0400"
John Hawkinson <jhawk@MIT.EDU> writes:
> dnl link with "-lsocket -lnsl". Under IRIX, they need to link with "-lnsl" but
> dnl should *not* link with "-lsocket" because libsocket.a breaks a number of
> dnl things (for instance: gethostbyname() under IRIX 5.2, and snoop sockets
> dnl under most versions of IRIX).
Why do you need/want to link with "-lnsl" on IRIX?
/assar