Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2009 12:54:13 GMT
From:      Helmut Schneider <jumper99@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135505: www/apache22 fails to install from package when compiled with ldap support
Message-ID:  <200906121254.n5CCsDSh076760@www.freebsd.org>
Resent-Message-ID: <200906121300.n5CD05Kk012278@freefall.freebsd.org>

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

>Number:         135505
>Category:       ports
>Synopsis:       www/apache22 fails to install from package when compiled with ldap support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 12 13:00:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schneider
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
I compile apache-2.2.11_[5|6] from ports WITH_LDAP WITH_AUTHNZ_LDAP WITH_PROXY using portinstall. Works fine:

# apachectl configtest
Syntax OK
# grep -ir ldap /usr/local/etc/apache22/Includes/modules-custom.conf
LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
LoadModule ldap_module libexec/apache22/mod_ldap.so
#

Now I delete the just now created package and re-install it:

# pkg_add /usr/ports/packages/All/apache-2.2.11_6.tbz
tar: build-1/apr_rules.mk: Cannot stat: No such file or directory
tar: build-1/libtool: Cannot stat: No such file or directory
tar: build-1/make_exports.awk: Cannot stat: No such file or directory
tar: build-1/make_var_export.awk: Cannot stat: No such file or directory
tar: build-1/mkdir.sh: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
#

Now I test the config again:

# apachectl configtest
httpd: Syntax error on line 16 of /usr/local/etc/apache22/httpd.conf: Syntax error on line 60 of /usr/local/etc/apache22/Includes/modules.conf: Syntax error on line 1 of /usr/local/etc/apache22/Includes/modules-custom.conf: Cannot load /usr/local/libexec/apache22/mod_authnz_ldap.so into server: /usr/local/libexec/apache22/mod_authnz_ldap.so: Undefined symbol "apr_ldap_url_parse"
#

When I re-compile apache instead of adding the package everything is fine again.
>How-To-Repeat:
Install apache-2.2, create the package, uninstall apache 2.2, install the package.
>Fix:


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



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