Red Hat Bugzilla – Bug 251268
PolicyKit-devel needs to have a Requires: glib2-devel
Last modified: 2013-03-05 22:51:53 EST
Description of problem:
Without the glib-devel package installed, its not possible to build against
PolicyKit, but this dependancy is missing in the -devel RPM for PolicyKit
# rpm -q PolicyKit-devel
# pkg-config --libs polkit
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'polkit', not found
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install PolicyKit-devel
2. Run pkg-config --libs polkit
Fails to find glib-2.0
Prints linker options
Opps, I meant glib2-devel
Also seems to need a dep on dbus-devel for the polkit-dbus pkgconfig file
Fixed in rawhide.