[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Performance and capacity of OpenLDAP (can I use it?)

No, that's not it. The library is in the correct location. Actually I've done some more investigation on this today, and I think my problem is that both the libdb-3.2 and libdb-4.0 are getting linked into the slapd binary. I can see this with ldd:

[astreib@garp openldap-2.0.21]$ ldd ./servers/slapd/slapd
libdb-4.0.so => /usr/lib/libdb-4.0.so (0x4001a000)
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x400a6000)
libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x400b2000)
libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x400c6000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x400ca000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40123000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40134000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40137000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40164000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4017b000)
libdl.so.2 => /lib/libdl.so.2 (0x4018d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40192000)
libc.so.6 => /lib/libc.so.6 (0x401a9000)
libdb-3.2.so => /lib/libdb-3.2.so (0x402de000)
libpam.so.0 => /lib/libpam.so.0 (0x40387000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x4038f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Why is this? I'm definitely no Unix guru, but I think it is because I have configured OpenLDAP --with-cyrus-sasl. My cyrus-sasl installation included the --with-pam option by default, and pam needs db3. So....I think *maybe* if I rebuild SASL without pam and then rebuilt openldap it might work. I'll let you know.


On Wednesday, January 23, 2002, at 07:24 PM, Shih-Chang Wang wrote:


I can use OpenLDAP-2.0.21 and BerkeleyDB.4.0.14 to work well in RedHat-7.1.
From the previous posts, it seems to be failed when you "make test"?
You need to check the file "openldap-2.0.21/test/test-db/master.log", if the
message is "can not find libdb-4.0.so", it means that the slapd cannot find
the dynamic libraries for BerkeleyDB.
So, you just copy the BerkeleyDB.4.0/lib/libdb-4.0.so into the /lib, then
the "make test", everything will be ok!


----- Original Message -----
From: "Allan Streib" <astreib@indiana.edu>
To: <OpenLDAP-Software@OpenLDAP.org>; "Jakob Breivik Grimstveit"
Sent: Thursday, January 24, 2002 2:10 AM
Subject: Re: Performance and capacity of OpenLDAP (can I use it?)

As I posted yesterday, I was unable to get OpenLDAP 2.0.21 and Berkeley
DB 4.0.14 to play together on a RedHat Linux box.  Maybe it's just my
setup.  I had to use Berkeley DB 3.2.9.

Anyone else had this combination work?


Jakob Breivik Grimstveit wrote:

Is it possible? Can I use the newest Berkeley DB (4.0.14) with the
OpenLDAP (2.0.21) without any problems for this?