From owner-freebsd-ports Wed Mar 20 23:51:24 2002 Delivered-To: freebsd-ports@freebsd.org Received: from antares.surnet.ru (antares.surnet.ru [195.54.2.5]) by hub.freebsd.org (Postfix) with ESMTP id B676737B41D for ; Wed, 20 Mar 2002 23:51:08 -0800 (PST) Received: (from uucp@localhost) by antares.surnet.ru (8.11.6/Joy) with UUCP id g2L7ovk23335; Thu, 21 Mar 2002 12:50:57 +0500 (YEKT) Received: from localhost (localhost [127.0.0.1]) by sol.chel.skbkontur.ru with ESMTP id g2L7ihC01894 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified NO); Thu, 21 Mar 2002 12:44:43 +0500 (YEKT) (envelope-from ilia@chel.skbkontur.ru) Date: Thu, 21 Mar 2002 12:44:43 +0500 (YEKT) From: =?koi8-r?B?6czY0SD7ydDJw8nO?= To: Garrett Wollman Cc: ports@FreeBSD.ORG Subject: Re: can't add mod_auth_kerb into Apache In-Reply-To: <200203201734.g2KHYMX58535@khavrinen.lcs.mit.edu> Message-ID: <20020321124225.U1558-100000@sol.chel.skbkontur.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Regards, (=EE=C1=C9=CC=D5=DE=DB=C9=C5 =D0=CF=D6=C5=CC=C1=CE=C9=D1) Ilia Chipitsine (=E9=CC=D8=D1 =FB=C9=D0=C9=C3=C9=CE) Salut, Garrett Wollman ! On Wed, 20 Mar 2002, Garrett Wollman wrote: > < said: > > > sol# /usr/local/sbin/apachectl start > > Syntax error on line 201 of /usr/local/etc/apache/httpd.conf: > > Cannot load /usr/local/libexec/apache/mod_auth_kerb.so into server: > > /usr/local/libexec/apache/mod_auth_kerb.so: Undefined symbol > > "krb5_sname_to_principal" > > /usr/local/sbin/apachectl start: httpd could not be started > > It worked for me when I built the port. krb5_sname_to_principal > should be defined in your Kerberos library (libkrb5.a). Can you check > with `nm' to make certain that it is there? Also, what version of > the Kerberos port do you have installed, and how did you build the cd /usr/ports/www/mod_auth_kerb make package > module? I've both Heimdal krb5 (from base) and MIT krb5 (security/krb5) both of them appears to have that function. looks strange, isn't it ? sol# pwd /usr/local/lib sol# nm libkrb5.a | grep krb5_sname_to_principal U krb5_sname_to_principal U krb5_sname_to_principal 00000000 T krb5_sname_to_principal sol# pwd /usr/lib sol# nm libkrb5.a | grep krb5_sname_to_principal U krb5_sname_to_principal U krb5_sname_to_principal U krb5_sname_to_principal 000010d0 T krb5_sname_to_principal > > -GAWollman > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message