httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Sturm" <aaron_st...@hotmail.com>
Subject [users@httpd] can't compile mod_auth_ldap
Date Sun, 15 Dec 2002 06:21:23 GMT
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

Mime
View raw message