[gnutls-dev] Re: `make check` failure on Solaris 2.7

Simon Josefsson jas at extundo.com
Thu Mar 17 14:42:56 CET 2005

Heiko Stamer <stamer at gaos.org> writes:

> Hello gnutls-team,
> during the build of the gnutls 1.2.0 tests on sparc/SunOS 5.7 (Solaris 2.7)
> platform the following error occured. It seems to me that the necessary
> linker switch "-lresolv" is missing (or was not properly configured).

My SunOS 5.9 man page suggest -lsocket -lnsl is the appropriate

     cc [ flag ... ] file ... -lsocket -lnsl [ library ... ]

Is this different in 5.7?

I'll try to write a good autoconf test for this.  It seems it is
slightly more complicated than merely AC_CHECK_LIB(nsl, inet_ntop,,,
-lsocket).  Or maybe it isn't..


More information about the Gnutls-devel mailing list