Professional Documents
Culture Documents
Install Openldap Di Ubuntu Dengan Openldap
Install Openldap Di Ubuntu Dengan Openldap
i got this error: Quote: configure: error: BDB/HDB: BerkeleyDB not available to fix this in ubuntu i ran this: Code:
sudo apt-get install libdb-dev
and it chose the newest version for me ref: https://lists.ubuntu.com/archives/ub...ry/022422.html then i ran: Code:
make depend
and got this error: Quote: getpeereid.c: In function getpeereid: getpeereid.c:51: error: storage size of peercred isnt known make[2]: *** [getpeereid.o] Error 1 make[2]: Leaving directory `/home/tcadmin/openldap-2.3.27/libraries/liblutil' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/home/tcadmin/openldap-2.3.27/libraries' make: *** [all-common] Error 1 to fix this i had to apply a patch. all i did was open this file: openldap-2.3.27/libraries/liblutil/getpeereid.c and add the following line: Code:
#define _GNU_SOURCE
Code:
#include "portable.h"