You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/09/26 19:39:12 UTC

DO NOT REPLY [Bug 31427] New: - make Errors when including LDAP as an SO

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31427>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31427

make Errors when including LDAP as an SO

           Summary: make Errors when including LDAP as an SO
           Product: Apache httpd-2.0
           Version: 2.0.51
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: david@kineticode.com


When building 2.0.51 on FreeBSD 4.8, I get an error during make if I attempt to
include the LDAP module as an SO. Here is my configure:

export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
export CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED"
./configure \
 --prefix=/usr/local/apache2  \
 --with-mpm=worker \
 --enable-dav \
 --enable-dav-fs \
 --enable-log-config \
 --enable-authn-file \
 --enable-authz-host \
 --enable-authz-group \
 --enable-authz-user \
 --with-ldap \
 --enable-ldap \
 --enable-auth-ldap \
 --enable-mods-shared="rewrite info worker proxy deflate mod_auth include ssl
env mime-magic auth_digest expires dav dav_fs ldap"

And here is the error:

/apr-util/include -I/usr/local/include -I. -I/usr/local/src/httpd-2.0.51/os/unix
-I/usr/local/src/httpd-2.0.51/server/mpm/prefork
-I/usr/local/src/httpd-2.0.51/modules/http
-I/usr/local/src/httpd-2.0.51/modules/filters
-I/usr/local/src/httpd-2.0.51/modules/proxy
-I/usr/local/src/httpd-2.0.51/include
-I/usr/local/src/httpd-2.0.51/modules/generators -I/usr/include/openssl
-I/usr/local/src/httpd-2.0.51/modules/dav/main -export-dynamic  
-L/usr/local/lib -o httpd  modules.lo  modules/aaa/mod_access.la
modules/aaa/mod_auth.la modules/experimental/mod_auth_ldap.la
modules/loggers/mod_log_config.la modules/metadata/mod_setenvif.la
modules/http/mod_http.la modules/http/mod_mime.la
modules/generators/mod_status.la modules/generators/mod_autoindex.la
modules/generators/mod_asis.la modules/generators/mod_cgi.la
modules/mappers/mod_negotiation.la modules/mappers/mod_dir.la
modules/mappers/mod_imap.la modules/mappers/mod_actions.la
modules/mappers/mod_userdir.la modules/mappers/mod_alias.la
modules/mappers/mod_so.la  server/mpm/prefork/libprefork.la  server/libmain.la 
os/unix/libos.la -lz -lssl -lcrypto
/usr/local/src/httpd-2.0.51/srclib/pcre/libpcre.la
/usr/local/src/httpd-2.0.51/srclib/apr-util/libaprutil-0.la -lldap -llber -lgdbm
-ldb-4.2 -lexpat -liconv /usr/local/src/httpd-2.0.51/srclib/apr/libapr-0.la -lm
-lcrypt 
modules/experimental/.libs/mod_auth_ldap.al(mod_auth_ldap.lo): In function
`mod_auth_ldap_cleanup_connection_close':
mod_auth_ldap.lo(.text+0x370): undefined reference to `util_ldap_connection_close'
modules/experimental/.libs/mod_auth_ldap.al(mod_auth_ldap.lo): In function
`mod_auth_ldap_check_user_id':
mod_auth_ldap.lo(.text+0x49d): undefined reference to `util_ldap_connection_find'
mod_auth_ldap.lo(.text+0x58d): undefined reference to `util_ldap_connection_close'
mod_auth_ldap.lo(.text+0x5e5): undefined reference to `util_ldap_connection_close'
mod_auth_ldap.lo(.text+0x679): undefined reference to `util_ldap_cache_checkuserid'
mod_auth_ldap.lo(.text+0x693): undefined reference to `util_ldap_connection_close'
modules/experimental/.libs/mod_auth_ldap.al(mod_auth_ldap.lo): In function
`mod_auth_ldap_auth_checker':
mod_auth_ldap.lo(.text+0xa17): undefined reference to `util_ldap_connection_find'
mod_auth_ldap.lo(.text+0xcfc): undefined reference to `util_ldap_cache_compare'
mod_auth_ldap.lo(.text+0xdda): undefined reference to `util_ldap_cache_compare'
mod_auth_ldap.lo(.text+0xf20): undefined reference to `util_ldap_cache_comparedn'
mod_auth_ldap.lo(.text+0x116c): undefined reference to `util_ldap_cache_compare'
*** Error code 1

Stop in /usr/local/src/httpd-2.0.51.
*** Error code 1

Stop in /usr/local/src/httpd-2.0.51.

This does not happen if I simply remove "ldap" from --enable-mods-shared and
otherwise configure exactly the same way as above.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org