HAVE_RES_GETHOSTBYNAME

Tomas Pihl etxtopi@REDACTED
Wed Oct 23 10:50:51 CEST 2002


Bengt Kleberg wrote:
> the RES_ bit is unknown to me, nor am i sure what symbol you are refering to.
> but gethostbyname() has the following man page entry (Solaris 7):
>
> this means that the library to include for gethostbyname() is nsl.

I had nsl included but it didn't contain any res_gethostbyname(). After 
some nm'ing I found it in libresolv.so.

-- 
Tomas Pihl
tomas.pihl@REDACTED



More information about the erlang-questions mailing list