[ruby-core:32781] Re: [Ruby-Bug#3802] freeaddrinfo not found in WS2_32.dll

From: Heesob Park <phasis@...>
Date: 2010-10-14 02:58:33 UTC
List: ruby-core #32781
2010/10/14 Luis Lavena <luislavena@gmail.com>:
> On Wed, Oct 13, 2010 at 2:43 AM, Heesob Park <phasis@gmail.com> wrote:
>>
>> It seems that getaddrinfo.c is not ready for Windows with ipv6 enabled.
>>
>
> Well, ipv6 gets compiled and works when --enable-ipv6 is provided to
> the configure process
>
>
> But combined with --enable-wide-getaddrinfo breaks.
>
> So there is a compromise, either we loose IPv6 on newer OS or we keep
> compatibility with old systems (Windows 2000).

Another possible workaround is to provide modified ws2_32.dll with the
installer and it should be copied to the same directory where ruby.exe
is in.

Refer to http://codemagnet.blogspot.com/2007/10/winsock2-replacement.html

The dll source and binary link is
http://martin.brenner.de/files/winsock2_getaddrinfo.rar

In This Thread