Red Hat Bugzilla – Bug 36378
glibc.spec needs a BuildPreReq: header.
Last modified: 2007-04-18 12:32:41 EDT
After I rebuilt glibc-2.2.2-10.src.rpm I did not get memusage and
memusagestat packaged into glibc-common.
Tracked it down to a dependency in configure.in:
dnl Check whether we have the gd library available.
if test "$with_gd" != "no"; then
LIBS="$LIBS -lgd -lpng -lz -lm"
AC_TRY_LINK([#include <gd.h>], [gdImagePng (0, 0)], LIBGD=yes, LIBGD=no)
memusage+friends is dependent on LIBGD, in malloc/Makefile
I did not have gd-devel installed, so I did not get memusage built.
It is necessary to add BuildPreReq: gd-devel libpng-devel zlib-devel to
glibc.spec, in order to make sure that the requisite libraries are present
before glibc is built.
Makes sense, added to glibc-2.2.3-5.