/usr/lib/x86_64-linux-gnu/libcap.so is in libcap-dev 1:2.25-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /lib/x86_64-linux-gnu/libcap.so.2.25
/lib/x86_64-linux-gnu/libcap.so.2.25