On 21.04.2010 18:23, Jeff Trawick wrote:
On Wed, Apr 21, 2010 at 11:45 AM, Robert Cooper
<[email protected]> wrote:
Hello,
I am having trouble building apr-util with ldap on AIX. I have successfully
build apr and openssl with the following options:
apr
CC="gcc" ./configure -C --prefix=/usr/local/apr
openssl
that's really openldap, right?
CC="gcc" ./configure -C --enable-slapd --enable-hdb=no --enable-bdb=no
--prefix=/usr/local/openldap
I have tried building apr-util multiple times with different options. Here
what I think is close to right:
CPPFLAGS="-I/usr/local/openssl" LDFLAGS="-L/usr/local/openssl" CC="gcc"
./configure -C --prefix=/usr/local/apr-util \
--with-apr=/usr/local/apr --enable-ldap --with-ldap
don't you need "--with-ldap=/usr/local/openldap" ?
Yes, you need to decide against which ldap library you want to build. If
not against OpenLDAP but instead against an IBM provided one, last time
I was building on AIX 6.1 (about 1 year ago) I was using something like
--with-ldap-include=/opt/IBM/ldap/V6.1/include
--with-ldap-lib=/opt/IBM/ldap/V6.1/lib
--with-ldap=ibmldapn
Regards,
Rainer