Jump to content

Error installing openLDAP [solved]


Xcross87
 Share

Recommended Posts

Hey guys, I want to install openLDAP but somehow during installation I've got this error:

 

error at 'make' command

Making all in /home/xcross87/Download/openldap-2.4.16
 Entering subdirectory include
make[1]: Entering directory `/home/xcross87/Download/openldap-2.4.16/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/include'

 Entering subdirectory libraries
make[1]: Entering directory `/home/xcross87/Download/openldap-2.4.16/libraries'
Making all in /home/xcross87/Download/openldap-2.4.16/libraries
 Entering subdirectory liblutil
make[2]: Entering directory `/home/xcross87/Download/openldap-2.4.16/libraries/liblutil'
cc -g -O2 -I../../include		-I../../include   -I/usr/local/BerkeleyDB.4.7/include   -I/usr/local/BerkeleyDB.4.7/include  -c -o getpeereid.o getpeereid.c
getpeereid.c: In function ‘lutil_getpeereid’:
getpeereid.c:65: error: storage size of ‘peercred’ isn’t known
make[2]: *** [getpeereid.o] Error 1
make[2]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/libraries'
make: *** [all-common] Error 1

 

As I search through Google, most of the answers are about the bug of glibc-2.8

Then I check through Mandriva repository, currently it doesn't seem to be updated at all.

Still GlibC-2.8 (20080520) in Mandriva repository.

I try to download glibc rpm and install but failed.

 

I'm wondering whether my openLDAP installation error is because of GlibC or not?

If yes, how can I install or update new release of GlibC (2.9.90-7 is the latest)

 

I need some helps.

 

Tks

Link to comment
Share on other sites

According to my system my installed glibc version is: glibc-2.9-0.20081113.5mnb2 and that would have been from the repos.

Link to comment
Share on other sites

Could you send me the add of your repos?

 

I use Mandriva 2009.0 not 2009.1 and I also searched through Internet to find out the package glibc-2.9 for it, but useless..

Link to comment
Share on other sites

Any particular reason for compiling openldap, rather than use the openldap packages available in the Mandriva repo? :unsure:

 

Unless you have a particular need or reason for compiling it, I would just simply use the packages available in the Mandy repo and save yourself a lot of work and effort as well as trouble.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...