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

Re: OpenLDAP 2.1.3 and Berkeley DB 4.0.14



søn, 2002-07-28 kl. 05:28 skrev BaTien Duong:

> I looked at openldap-2.1.3/tests/test-db/master.log and found:
> 
>     ../servers/slapd/slapd: error while loading share libraries libdb-4.0.so
>     cannot open share object file: no file or directory
> 
> 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.

Simply symlink /usr/lib/libdb-4.0.so to /usr/lib/libdb-4.so and
recompile. My slapd unly needs one of the 6 static and dynamic libs,
YMMV.

Best,

Tony

-- 

Tony Earnshaw

The usefulness of RTFM is vastly overrated.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981