[vlc-devel] Re: IPv6 not detected on Solaris

Alexander Gall gall at switch.ch
Fri Mar 3 10:09:56 CET 2006

On Wed, 1 Mar 2006 12:22:41 +0100, Rémi Denis-Courmont <rem at videolan.org> said:

> Le Mercredi 1 Mars 2006 11:05, Alexander Gall a écrit :
>> Solaris requires -lnsl -lsocket where most other platforms require
>> -lresolv.  The current checks for IPv6 don't work on Solaris.  The
>> attached patch fixes this (I tried to figure out the proper calls to
>> VLC_ADD_LDFLAGS).  The patch works at least on Solaris Express.

> Should be fixed. Thanks.

This fix doesn't work. [-lnsl] should be [nsl] in

AC_SEARCH_LIBS([getaddrinfo], [-lnsl], [AC_DEFINE(HAVE_GETADDRINFO)],, [${LIBS_socket}])
and you forgot the check for inet_pton, which is also in libnsl on


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list