Hi, I'm a newbie on this, i was trying to build the system (after configure, and make dependencies without error) openLDAP,  and get this error message:<br><br><h1><font size="2">(ITS#5666) getpeereid.c:65: error: storage size of peercred isnt       known</font></h1>
<br>So I looked for the cause, and find out that it was something related to an incompatibility with glibc, on this page:<br><a href="http://www.globalsight.com/index.php?option=com_fireboard&Itemid=40&func=view&id=100&catid=26">http://www.globalsight.com/index.php?option=com_fireboard&Itemid=40&func=view&id=100&catid=26</a><br>
<br>Where it says:<br><br><i>The workaround is to compile with CPPFLAGS=-D_GNU_SOURCE<br><br>
So:<br>
sudo env CPPFLAGS="-I/usr/local/BerkeleyDB.4.5/include -D_GNU_SOURCE"
LDFLAGS="-L/usr/local/BerkeleyDB.4.5/lib" ./configure
--prefix=/usr/local/openldap --enable-ldbm</i>
<br><br>I tried first, to configure like this:<br><br><i>>env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include -D_GNU_SOURCE"
LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure
--prefix=/usr/local/openldap --enable-ldbm</i><br><br>It made appear new errors, so i tried to go back typing this: //only setting what i thougth it was the problem,<br><i>>./configure<br>>env CPPFLAGS=-D_GNU_SOURCE</i><br>
<br>It seems that i have gone backwards, because now when trying to configure openLDAP it doesn't recognize BerkeleyDB:<br><br><i>checking db.h usability... no<br>
checking db.h presence... no<br>
checking for db.h... no<br>
configure: error: BDB/HDB: BerkeleyDB not available<br>and the configure stops. </i> <br> <br>
I checked and made sure that db.h was install in /usr/local/BerkeleyDB.4.7/include/db.h. The problem is worse, because i don't have a Berkeley folder in /usr/local, nor in all the system. I found out that i have 3 versions of berkeleyDB: 4.2, 4.6 and 4.7. When trying to delete 4.6, the manager tells me that it will affect a lot of programs, even apache2 server!!! that would be going to the begginng.<br>
<br>Some suggestions? <br><br>How can i delete older versions of berkeleyDB (4.2 and 4.6) without affecting the entire system? Why it doesn't appear the berkeleyDB folder? What is the problem with glibc? Is that i have to change something or define some parameter?<br>
<br>I'm quite lost.<br><br>Thank u.<br><br>Dámaris.<br><br>
<br>