[BLFS Trac] #2578: OpenLDAP 2.4.12

BLFS Trac trac at linuxfromscratch.org
Thu Nov 13 06:58:13 PST 2008


#2578: OpenLDAP 2.4.12
--------------------+-------------------------------------------------------
 Reporter:  thomas  |        Owner:  blfs-book at linuxfromscratch.org
     Type:  task    |       Status:  new                           
 Priority:  normal  |    Milestone:  6.4                           
Component:  BOOK    |      Version:  SVN                           
 Severity:  normal  |   Resolution:                                
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by Tromador):

 Error in build of 2.4.12 in combination with Glibc 2.8

 cc -g -O2 -I../../include        -I../../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 `/sources/openldap-2.4.12/libraries/liblutil'
 make[1]: *** [all-common] Error 1
 make[1]: Leaving directory `/sources/openldap-2.4.12/libraries'
 make: *** [all-common] Error 1

 Workaround:

 CPPFLAGS=-D_GNU_SOURCE ./configure --someoptions

 See: http://www.openldap.org/lists/openldap-bugs/200804/msg00074.html

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2578#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list