[erlang-patches] Tiny patch to inet_drv.c for Solaris Open Indiana and Illumos
Trond Norbye
trond.norbye@REDACTED
Thu Nov 24 08:44:18 CET 2011
It should no longer be needed after they reapplied my patch to use
libdlpi to retrieve the mac address. (I just built everything on
Solaris 11, and it detects everything correctly out of the box).
At least on my OpenIndiana box (and I would guess other clones as
well) libdlpi needs libdladm.so.1 which is installed in /lib, and
libdlpi.so doesn't include an rpath to automatically detect it. That
means that you'd need to add: LDFLAGS="-L/lib -R/lib" for it to
successfully detect the availability of the library.
Trond
On Thu, Nov 24, 2011 at 12:37 AM, Scott Lystig Fritchie
<fritchie@REDACTED> wrote:
> Hi, all. I got a GitHub pull request several days ago for a tiny patch
> to inet_drv.c.
>
> https://github.com/slfritchie/otp/pull/3
>
> I haven't seen anything on this list mentioning this small patch, so I
> thought I'd submit it on behalf of the original author. (He hasn't
> replied to my comment on the GitHub pull request, either.)
>
> Vladimir says that the patch is necessary for Solaris Illumos. I can
> confirm that it's necessary for Solaris Open Indiana build 151a, also.
> I haven't bootstrapped my development environment yet for Solaris 11 to
> know if it's required there, also.
>
> The 1-line patch is here:
>
> https://github.com/proger/otp/commit/f40294921d5862add77fd77851beb2785b026306`
> https://github.com/proger/otp/commit/f40294921d5862add77fd77851beb2785b026306.patch
>
> -Scott
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
>
--
Trond Norbye
More information about the erlang-patches
mailing list