httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Musolino <musol...@pegasus.montclair.edu>
Subject Apache 2.0.39 on OSX -apr-util cant find ldap libs
Date Thu, 20 Jun 2002 21:42:05 GMT
Hi,

Ive been trying to get apache 2.0 to build on OSX 10.1.5 with the 
--with-ldap option so that I can get the ldap-aaa module to build.
The problem I run into is that when the apr-util starts to run its 
configure, it cannot find any of the ldap libraries.  I have openldap 
installed in /usr/local/openldap.
I also set my DYLD_LIBRARY_PATH to include the /usr/local/openldap/lib 
directory, but this does not aid in the effort.

Thanks in Advance
Peter

-----------------------
In case needed for detective work, here is what I have doing to try and 
get it working--

Here is the config.nice to show what options I am using

#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-modules=most" \
"--enable-mods-shared=all" \
"--with-ldap" \
"--with-ldap-include=/usr/local/openldap/include/" \
"--with-ldap-lib=/usr/local/openldap/lib/" \
"--with-layout=Apache" \
"$@"


Here is the error from configure in the apr-util dir

checking for ldap support...
   setting CPPFLAGS to "-I/usr/local/openldap/include/"
   setting 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

Here is /usr/local/openldap/lib dir and perms:
drwxr-xr-x    8 root     wheel         228 Jun  6 17:27 .
drwxr-xr-x    4 root     wheel          92 Jun  6 17:27 ..
-rw-r--r--    1 root     wheel      216668 Jun  6 17:27 liblber.a
-rw-r--r--    1 root     wheel         667 Jun  6 17:27 liblber.la
-rw-r--r--    1 root     wheel     1704828 Jun  6 17:27 libldap.a
-rw-r--r--    1 root     wheel         682 Jun  6 17:27 libldap.la
-rw-r--r--    1 root     wheel     1769772 Jun  6 17:27 libldap_r.a
-rw-r--r--    1 root     wheel         688 Jun  6 17:27 libldap_r.la

Here is /usr/local/openldap/include dir and perms:
drwxr-xr-x    8 root     wheel         264 Jun  6 17:27 .
drwxr-xr-x    4 root     wheel          92 Jun  6 17:27 ..
-rw-r--r--    1 root     wheel       12273 Jun  6 17:27 lber.h
-rw-r--r--    1 root     wheel        1473 Jun  6 17:27 lber_types.h
-rw-r--r--    1 root     wheel       38320 Jun  6 17:27 ldap.h
-rw-r--r--    1 root     wheel        4479 Jun  6 17:27 ldap_cdefs.h
-rw-r--r--    1 root     wheel        2133 Jun  6 17:27 ldap_features.h
-rw-r--r--    1 root     wheel        5343 Jun  6 17:27 ldap_schema.h

Thanks again


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


Mime
View raw message