Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0



On Fri, Aug 18, 2000 at 08:28:52PM +0400, Andrej Borsenkow wrote:

> I just found, that these live in -lresolv here. Damn, some developers should
> be shoot on the spot ... the problem (here, at least) is, that -lresolv MUST
> be after -lnsl (else name resolution won't work), so usual configure checks
> won't work ... I have to think about it.
> 
> Check, in which library these function live under Solaris. I suspect, they are
> in -lresolv as well.

On Solaris, inet_pton and friends live in -lnsl.  -lnsl and -lresolv are not
both necessary, only the former.  And -lsocket seems to require -lnsl.

Configure seems to always do the right thing on Solaris with regard to the
networking libraries, though.  And I do have a version of zsh 3.1.9-dev-1
built on Solaris 8 with the 5.0 compilers ...

Danek



Messages sorted by: Reverse Date, Date, Thread, Author