httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Sanderson <...@sdsc.edu>
Subject [users@httpd] Compiling Apache 2.0.43 with LDAP
Date Wed, 04 Dec 2002 22:26:49 GMT
I am stumped as to why Apache 2.0.43 will not compile for me with LDAP
support and mod_auth_ldap.

I just did a fresh install of openldap 2.0.27 to /usr/local/openldap the
following is a listing of the lib dir of this install.

liblber.a
liblber.so.2.0.17
libldap.so.2
libldap_r.so
liblber.la
libldap.a
libldap.so.2.0.17
libldap_r.so.2
liblber.so
libldap.la
libldap_r.a
libldap_r.so.2.0.17
liblber.so.2
libldap.so
libldap_r.la


-----------------------------------------------------
Here are the configure options I am using for Apache.

export LDFLAGS="-L/usr/local/openssl/lib
-L/usr/local/openldap/lib -L/usr/local/lib"

export LDFLAGS="$LDFLAGS
-R/usr/local/openssl/lib:/usr/local/openldap/lib:/usr/local/lib"

export CPPFLAGS="-I/usr/local/openssl/include
-I/usr/local/openldap/include -I/usr /local/include"

./configure \
--prefix=/{path_to_apaches_home}/apache_2.0.43 \
--with-mpm=prefork \
--enable-so \
--enable-mods-shared="access auth auth_anon auth_dbm include log_config
env expires headers usertrack setenvif proxy ssl mime dav status autoindex
asis info cgid cgi dav_fs vhost_alias negotiation dir imap actions speling
userdir alias rewrite mime_magic ldap auth-ldap" \
--with-ssl=/usr/local/apps/openssl \
--with-ldap \
--with-auth-ldap \
--with-ldap-lib=/usr/local/openldap/lib \
--with-ldap-include=/usr/local/openldap/include \
--disable-auth_digest;


----------------------------------------------------------------
Here is the output:

checking for ldap support...
  setting APRUTIL_INCLUDES to "-I/usr/local/openldap/include"
  setting APRUTIL_LDFLAGS to "-L/usr/local/openldap/lib"
checking for ldap_init in -lldap50... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl20... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... (cached) no
checking for ldap_init in -lldap... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util
make: Fatal error: Don't know how to make target `depend'
make: Fatal error: No arguments to build
make: Fatal error: Don't know how to make target `install'


-----------------------
What am I doing wrong?

Thanks in advance!

Andy


---------------------------------------------------------------------
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