problems with OpenLDAP installation!!! please, help!
Dámaris Suárez Corrales
dhamaris at gmail.com
Mon Mar 9 11:02:21 UTC 2009
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:
I have installed Cyrus SASL, OpenSSL, POSIX REGEX, and even gnuPG, i don't
think the problem is in the prerrequisite software.
(ITS#5666) getpeereid.c:65: error: storage size of peercred isnt known
So I looked for the cause, and find out that it was something related to an
incompatibility with glibc, on this page:
http://www.globalsight.com/index.php?option=com_fireboard&Itemid=40&func=view&id=100&catid=26
Where it says:
*The workaround is to compile with CPPFLAGS=-D_GNU_SOURCE
So:
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 tried first, to configure like this:
*>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*
It made appear new errors, so i tried to go back typing this: //only setting
what i thougth it was the problem,
*>./configure
>env CPPFLAGS=-D_GNU_SOURCE*
It seems that i have gone backwards, because now when trying to configure
openLDAP it doesn't recognize BerkeleyDB:
*checking db.h usability... no
checking db.h presence... no
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
and the configure stops. *
I installed last version of Berkeley, but i still have olders versions that
i cannot delete because the system advices me that it will affect a lot of
programs. That would be horrible!
Some suggestions?
How can i delete older versions of berkeleyDB (4.2 and 4.6) without
affecting the entire system? What is the problem with glibc? Is that i have
to change something or define some parameter?
Another doubt..is a problem to extract the files of all these programs that
i am trying to install, in a folder like /home/files ?? Am i obliged to use
another like /tmp or /usr/lib???
I'm quite lost.
Thank you for any help.
Dámaris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090309/f6b665c6/attachment.html>
More information about the ubuntu-users
mailing list