Bug 156787 - www/mod_auth_kerb2 fails on undefined symbol with base kerberos
Summary: www/mod_auth_kerb2 fails on undefined symbol with base kerberos
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 02:00 UTC by Dan Mahoney
Modified: 2012-11-28 16:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Mahoney 2011-05-03 02:00:21 UTC
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.

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/*
How-To-Repeat: 
cd /usr/ports/www/mod_auth_kerb2
make install
apachectl restart
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-03 07:22:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Fix synopsis and assign.
Comment 2 Ryan Steinmetz freebsd_committer freebsd_triage 2012-11-28 14:55:55 UTC
Responsible Changed
From-To: apache->zi

I'll take it.
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2012-11-28 16:20:25 UTC
State Changed
From-To: open->closed

This issue has been resolved.  Please update your ports tree and install 
revision 4 of this port.