2 thoughts on “error: sys/capability.h: No such file or directory

  1. Kamal Jha

    `sudo yum reinstall libcap-devel` does not work on RHEL:
    $ sudo yum reinstall libcap-devel
    Updating Subscription Management repositories.
    Last metadata expiration check: 1:09:31 ago on Fri 06 May 2022 11:44:08 AM EDT.
    Package libcap-devel available, but not installed.
    No match for argument: libcap-devel
    Error: No packages marked for reinstall.

    Reply
  2. Kamal Jha

    ok. so `sudo yum install libcap-devel` worked for me on RHEL and got the header file. Thank you!

    Reply

Leave a Reply

Your email address will not be published.