[14558] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Solaris 8 and libresolv

daemon@ATHENA.MIT.EDU (Dennis Davis)
Tue Jun 12 05:48:18 2001

Date:     Tue, 12 Jun 2001 10:45:19 +0100 (BST)
From: Dennis Davis <ccsdhd@bath.ac.uk>
To: flaminio <Livio.Flaminio@agat.univ-lille1.fr>
cc: kerberos@mit.edu
Reply-To: Dennis Davis <D.H.Davis@bath.ac.uk>
Message-ID:  <200106121045.aa14916@hinault.bath.ac.uk>

>From: flaminio <Livio.Flaminio@agat.univ-lille1.fr>
>X-Newsgroups: comp.protocols.kerberos
>Subject: Solaris 8 and libresolv
>Date: Mon, 11 Jun 2001 18:36:43 +0200
>
>has anybody compiled Kerberos 1.2.2 under Solaris 8 ?
>
>The install guide says that solaris 2.0-2.3 has a broken gethostbyname()
>
>and that it has been fixed in 2.4 et above.
>
>However I get
># /configure  --with-cc=gcc  --enable-shared
># gmake 2>&1 1>& make.log &
># gmake check
>
>....
>gmake[2]: Entering directory
>`/site/src/krb5/krb5-1.2.2/sparc/tests/resolve'
>LD_LIBRARY_PATH=`echo -L../../lib | sed -e "s/-L//g" -e "s/ /:/g"`;
>export LD_LIBRARY_PATH; ./resolve
>Hostname:  MY-UNQUALIFIED-HOSTNAME
>Host address: MY_IP_NO
>FQDN:  MY-UNQUALIFIED-HOSTNAME
>
>Resolve library did not return a fully qualified domain name
>You may have to reconfigure the kerberos distribution to select a
>different set of libraries using --with-netlib[=libs]
>gmake[2]: *** [check] Error 3
>gmake[2]: Leaving directory
>`/site/src/krb5/krb5-1.2.2/sparc/tests/resolve'
>gmake[1]: *** [check-recurse] Error 1
>gmake[1]: Leaving directory `/site/src/krb5/krb5-1.2.2/sparc/tests'
>gmake: *** [check-recurse] Error 1
>
>Any clue ?  Thanks

I have no problem like this when building & checking Kerberos 1.2.2
under Solaris2.5.1 and Solaris2.6.  I strongly suspect that it's
the way your DNS etc is configured.  See Section 5.3, "Getting DNS
information Correct", of the Kerberos V% System Administrator's
Guide for more information.  Question 2.14 of the FAQ is also
useful.

Make absolutely certain your DNS, /etc/hosts file etc return fully
qualified hostnames.

home help back first fref pref prev next nref lref last post