[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: New Problem: slapd won't start
fre, 28.11.2003 kl. 13.44 skrev Sven Michael Geschke:
> But when I try to start slpad... aaaargh!
> This time it seems it can't find libsasldb.so.2
>
> $ tail /var/log/messages
> ---snip---
> Nov 28 13:13:27 appserver slapd: unable to dlopen
> /usr/lib/sasl2/libsasldb.so.2: libdb-4.0.so: cannot open shared object file:
> No such file or directory
> Nov 28 13:13:27 appserver slapd[14300]: unable to dlopen
> /usr/lib/sasl2/libsasldb.so.2: libdb-4.0.so: cannot open shared object file:
> No such file or directory
>
> but it's there...
It isn't telling you that! It's saying that
/usr/lib/sasl2/libsasldb.so.2 can't find libdb-4.0.so. If you'll just
*relax* and take things a little more calmly ;)
1: Do 'ldd /usr/lib/sasl2/libsasldb.so.2' and you'll see what I mean;
2: 2.1.22 needs Berkeley 4.1.25 anyway, so you compiled with the wrong
BDB version. Install that (if it won't break other things on your
system) and recompile Openldap; this time point the configure to the
Berkeley libs, something like:
'LDFLAGS="-L/usr/local/lib"' or wherever you install the BDB libs.
Adding /usr/local/lib to /etc/ld.so.conf (if it isn't there already) and
running ldconfig can help too, but sometimes doesn't on more ancient
distros.
Didn't see any earlier posts of yours, I begin at the latest and work
backward.
Success!
--Tonni
--
mail: billy - at - billy.demon.nl
http://billy.demon.nl