Red Hat Bugzilla – Bug 38883
libpng-devel sometimes requires zlib-devel
Last modified: 2008-05-01 11:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.0)
Description of problem:
Package libpng-devel does not require zlib-devel, but often trying to
build something requiring libpng-devel files, stops because zlib.h is
#include'ed in /usr/include/png.h. See line 245 in png.h for details. It
says that zlib is required, and that building png without it won't work.
Steps to Reproduce:
1.compile something that #include's /usr/include/png.h without having
Actual Results: Got error msg saying that zlib.h could not be found.
Expected Results: The file should compile, because IMHO libpng-devel.rpm
should require zlib-devel
Done in 1.0.11-2