mod_auth_kerb PR

Nadelyaev Stanislav nadelyaev_sa at stocona.ru
Fri Aug 5 11:26:14 GMT 2005


Hello.

I am try to install port www/mod_auth_kerb from the latest ports
collection. I am already have www/apache2 and security/krb5. System are
FreeBSD svn.domain.local 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0

 

Install passed fine, but when I started apache I got this error:

 

svn# /usr/local/etc/rc.d/apache2.sh restart

Performing sanity check on apache2 configuration:

Syntax error on line 272 of /usr/local/etc/apache2/httpd.conf:

Cannot load /usr/local/libexec/apache2/mod_auth_kerb.so into server:
/usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r"

 

Then I do some changes in Makefile and all goes well. I  am started
apache without problem. This is the changes:

 

svn# diff -uN Makefile.old Makefile

--- Makefile.old        Mon Aug  1 13:28:29 2005

+++ Makefile    Fri Aug  5 15:17:21 2005

@@ -26,12 +26,11 @@

 

 USE_APACHE=    yes

 

-KRB5_HOME?=    ${LOCALBASE}

 

 # Don't fsck with CFLAGS

 CFLAGS:=

 

 GNU_CONFIGURE= yes

-CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} --without-krb4

+CONFIGURE_ARGS+=--with-krb4=no

 

 .include <bsd.port.mk>

 

And there is one more thing. In case of use apache2 pkg-plist file must
contain directive apache2 instead apache. 





More information about the freebsd-apache mailing list