configure: error: *** POSIX caps headers not found

C++
yum -y install libcap-devel
Source

Also in C++: