httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Pohl <list-apache-us...@mail2news-gw.secaron.de>
Subject Re: [users@httpd] can't compile mod_auth_ldap
Date Mon, 16 Dec 2002 11:58:43 GMT
Aaron Sturm wrote:
> Problem:
> I can compile apache by itself, I can compile with ssl, but I can't
> compile with mod_auth_ldap.
>  
> Currently installed:
> openldap 2.0.27
> openssl-0.9.6h
> gcc 3.2
> solaris 8
>  
> Variables:
> CFLAGS="-I/opt/openldap/include"
> LDFLAGS="-L/opt/openldap/lib"
>  
> Configure syntax:
> ./configure --prefix=/opt/apache --enable-mod_auth_ldap=shared
> --enable-mod_ssl=shared
>  
> Error during make:
> make[1]: Entering directory `/home/chewy/httpd-2.0.43'
> /bin/bash /home/chewy/httpd-2.0.43/srclib/apr/libtool --silent
> --mode=compile gcc  -g -O2 -pthreads    -DSOLARIS2=8
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DAP_HAVE_DESIGNATED_INITIALIZER 
> -I/home/chewy/httpd-2.0.43/srclib/apr/include
> -I/home/chewy/httpd-2.0.43/srclib/apr-util/include
> -I/home/chewy/httpd-2.0.43/srclib/apr-util/xml/expat/lib -I.
> -I/home/chewy/httpd-2.0.43/os/unix
> -I/home/chewy/httpd-2.0.43/server/mpm/prefork
> -I/home/chewy/httpd-2.0.43/modules/http
> -I/home/chewy/httpd-2.0.43/modules/filters
> -I/home/chewy/httpd-2.0.43/modules/proxy
> -I/home/chewy/httpd-2.0.43/include
> -I/home/chewy/httpd-2.0.43/modules/dav/main  -c modules.c && touch
> modules.lo
> /bin/bash /home/chewy/httpd-2.0.43/srclib/apr/libtool --silent
> --mode=link gcc  -g -O2 -pthreads    -DSOLARIS2=8
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DAP_HAVE_DESIGNATED_INITIALIZER 
> -I/home/chewy/httpd-2.0.43/srclib/apr/include
> -I/home/chewy/httpd-2.0.43/srclib/apr-util/include
> -I/home/chewy/httpd-2.0.43/srclib/apr-util/xml/expat/lib -I.
> -I/home/chewy/httpd-2.0.43/os/unix
> -I/home/chewy/httpd-2.0.43/server/mpm/prefork
> -I/home/chewy/httpd-2.0.43/modules/http
> -I/home/chewy/httpd-2.0.43/modules/filters
> -I/home/chewy/httpd-2.0.43/modules/proxy
> -I/home/chewy/httpd-2.0.43/include
> -I/home/chewy/httpd-2.0.43/modules/dav/main -export-dynamic
> -L/home/chewy/httpd-2.0.43/srclib/apr-util/xml/expat/lib   -o httpd
> modules.lo  modules/aaa/mod_access.la modules/aaa/mod_auth.la
> modules/filters/mod_include.la modules/loggers/mod_log_config.la
> modules/metadata/mod_env.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
> /home/chewy/httpd-2.0.43/srclib/pcre/libpcre.la
> /home/chewy/httpd-2.0.43/srclib/apr-util/libaprutil-0.la
> /home/chewy/httpd-2.0.43/srclib/apr-util/xml/expat/lib/libexpat.la
> /home/chewy/httpd-2.0.43/srclib/apr/libapr-0.la -lsendfile -lrt -lm
> -lsocket -lnsl -lresolv -ldl
> Undefined                       first referenced
>  symbol                             in file
> apr_generate_random_bytes         
> server/.libs/libmain.al(exports.lo)
> ld: fatal: Symbol referencing errors. No output written to .libs/httpd
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/home/chewy/httpd-2.0.43'
> make: *** [all-recursive] Error 1
>  
> Any help... any help at all would be very much appreciated!! I've been
> looking for answers for about two weeks now.
>  
> Thanks,
> Aaron
Hi Aaron,

Imho there is no mod_auth_ldap included in apache :(

Use the extra ldap-module from 
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html

and follow the installinstructions. It works fine.

Kind regs, Chris

-- 
Christian Pohl
ยป|secaron

-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to Christian Pohl <pohl@secaron.de>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message