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



>
> 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),

I meant of course -lsocket. Both contain gethostby* and friends, but -lsocket
incluldes generic version that supports service switch (the way it is
implemented in SVR4) and -lresolv has DNS-pure versions. So, if -lresolv comes
before -lsocket, no /etc/hosts is ever used.

-andrej



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