"Le Trung Kien" <[EMAIL PROTECTED]> writes: > Hi, I tried out some solutions at > http://www.openldap.org/faq/data/cache/345.html > but I still don't solve the make test fail : test001-slapadd
[...] > I guess it comes from the incorrect install of BerkerleyDB, I have installed > two > version of BerkerleyDB: 4.5 and 4.6 and they locate at > /usr/local/BerkerleyDB.4.5 > and /usr/local/BerkerleyDB.4.6 > After "make install" them, then configure OpenLDAP I receive compliant about > missing "db.h" file, then I copy subdirectories in /usr/local/BerkerleyDB.4.6 > to > corresponsive subdirectories in /usr/local. Then I have finished "make" > OpenLDAP > susscessful however "make test" failed. > > Could you tell me how you install BerkerleyDB to work with Openldap ? > or tell me if my test failure came from the difference problems. > Help me, please. > Thank you. remove the copied subdirectories export CPPFLAGS="-I/usr/local/BerkeleyDB-4.5/include" export LDFLAGS="-L/usr/local/BerkeleyDB-4.5/lib" ./configure and make the dynamic linker/loader aware of the path to libdb-4.5.so -Dieter -- Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:8EF7B6C6
