[erlang-questions] using inet_gethost_native even if disabled

Danil Zagoskin <>
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 <>

> 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
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



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


More information about the erlang-questions mailing list