Red Hat Bugzilla – Bug 7423
The file /usr/include/rpm/rpmlib.h is not correct
Last modified: 2008-05-01 11:37:53 EDT
On my frech install of the RH6.1, the file beginning of the file
/usr/include/rpm/rpmlib.h is :
and it should be
because gcc said said that it could not find rpmio.h, dbindex.h and
Add -I/usr/include/rpm to your CFLAGS.
I believe that this is still a bug. The maximum rpm book says to write
but then the header files don't work unless I write -I/usr/include/rpm in which
case I could have written
And what if I am writing something that wants to use another package that has a
header.h file in its include path somewhere. (E.g. /usr/include/pci/header.h)
In that case I could end up with a collision.