Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 May 2011 00:54:08 +0000 (UTC)
From:      Dan Mahoney <dmahoney@isc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/156787: mod_auth_kerb2 fails on undefined symbol with base kerberos
Message-ID:  <20110503005408.17942216C40@bikeshed.isc.org>
Resent-Message-ID: <201105030100.p4310LCL088183@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156787
>Category:       ports
>Synopsis:       mod_auth_kerb2 fails on undefined symbol with base kerberos
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 03 01:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dan Mahoney
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
ISC


>Environment:
System: FreeBSD bikeshed.isc.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

When building the mod_auth_kerb2 port, and attempting to use it, one gets the following error:

httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into 
server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity"

The error does NOT occur if you install /usr/ports/security/krb5 and setenv KRB5_HOME /usr/local

Note that this failure is at runtime, not at build or link-time.

>How-To-Repeat:

cd /usr/ports/www/mod_auth_kerb2
make install
apachectl restart

>Fix:

I've listed a workaround, but this really should work with the base OS, without having to drop a number of foreign kerberos binaries 
into /usr/local/*

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110503005408.17942216C40>