[erlang-questions] using inet_gethost_native even if disabled

Danil Zagoskin z@REDACTED
Wed Apr 3 11:57:57 CEST 2013


Hello.

Try to start your VM with custom inetrc. Just set ERL_INETRC environment
variable to inet config file path.
In config file write:
   {lookup, [file, dns]}.

This will tell erlang's resolver to use it's own DNS client, not system one.
More info at http://www.erlang.org/doc/apps/erts/inet_cfg.html


2013/4/3 Benoit Chesneau <bchesneau@REDACTED>

> Hi,
>
> I compiled Erlang with --disable-native-libs --disable-options but it
> is still trying to use it on load.. Did I miss an option?
>
> - benoît
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
---------------------------------------------
Данил Загоскин | +7 906 064 20 47 | z@REDACTED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130403/ff9a39ef/attachment.htm>


More information about the erlang-questions mailing list