Red Hat Bugzilla – Bug 253372
gd-devel missing other -devel package requirements
Last modified: 2011-02-18 06:22:12 EST
There are problems in RHEL-4 when compiling/linking programs (eg. Nagios from
EPEL-4) that are using gd-devel. BuildRequires: gd-devel doesn't expand into BR:
libpng-devel, ... (they are used when the gd library is build). It the same
problem as on some older Fedora, for the original information, please see bug#
Hi, that's weird, because I just checkout the RHEL4 version of gdlib and
BuildRequires in spec file are: freetype-devel, libjpeg-devel, libpng-devel,
zlib-devel, so the problem is probably not in the gd package but in the package
you're trying to compile. Can you be more specific what are you trying to do?
If I remember it correctly, the gd-devel package needs to have libpng-devel,
freetype-devel as Requires. Now when building a package with BR: gd-devel, you
need to manually specify freetype-devel, libpng-devel, ... as BR. But the user
doesn't know exactly what libraries is gd build with.
Please see gd-devel from RHEL5, it should have it specified correctly.
As RHEL-4.9 is last update for RHEL-4 and it is not suitable for new features
and should address only security, performance and critical issues, I'm closing
that bugzilla WONTFIX. It is fixed in RHEL-5.