I followed your suggestion to locate the
file in /data/db-4.0.14/lib that I included as LDFLAGS in configure step.
I then added the line /data/db-4.0.14/lib
to /etc/ld.so.conf. I reboot the machine and ro-do the whole thing from
the beginning. I was stuck at the same place with the same error message.
I used ldconfig -p to find libdb-4.0.so
in cache, but it is not there. So somehow redhat 7.2 does not automatically
reload dynamic libraries in /data/db-4.0.14/lib or I missed something?
BaTien Duong
DBGROUP
-----
Original Message -----
Sent:
Saturday, July 27, 2002 7:27 AM
Subject:
Re: OpenLDAP 2.1.3 and Berkeley DB 4.0.14
Hello,
I think you ran into the same problem that I had, before a nice lady
on the LDAP newsgroups pointed me in the correct direction. In the openldap
tests directory there is an error log kept, in my case, it was erroring
on locating a library located in the Berkeley.4.0/lib directory. Elizabeth
told me to add the following to the ld.so.conf file located in
the /etc directory.
/usr/local/BerkeleyDB.4.0/lib
Since the Mandrake machine is not at hand, you'll want to verify the location
of the Berkeley DB directory before adding this line. Modify it to your
liking.
And, then use the command ldconfig to put it into place. Worked for
me.
I'm currently running it under Mandrake 8.2
BaTien Duong wrote:
Allan:
I did as what you suggested:
1) look at RedHat RPM installation and find tcp warppers in /usr/include
and /usl/lib
2) edit file /etc/hosts.allow to add a line 127.0.0.1 localhost and
other hosts via DNS
3) use the following config command:
env CPPFLAGS="-I/data/db-4.0.14/include -I/usr/include"
LDFLAGS="-L/data/db-4.0.14/lib -L/usr/lib"
./configure --prefix=/data/openldap-2.1.3
--srcdir=/home/xyz/src/openldap-2.1.3
--with-wrappers