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.
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed devel/apr is the culprit, do you have WITH_APR_FROM_PORTS set in /etc/make.conf or on the CLI? At any rate, you should uninstall /var/dbb/pkg/apr* and then try this again from the start.