we are trying to install an application on our OpenLead 15.6 which requires libcap. Unfortunately it does not recognize libcap-ng as alternative and do not want to move on without libcap.
We tried then to install it using following links on SUSE Build Service:
If the add repo and zypper refresh commands are working, the install command fails with
Loading repository data...
Reading installed packages...
'libcap' not found in package names. Trying capabilities.
No provider of 'libcap' found.
Resolving package dependencies...
Nothing to do.
Indeed this is because when checking the repository, libcap is seen as a source package:
<hostname>:~ # zypper search libcap
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+------------------------+---------------------------------------------------------------+-----------
| libcap | Library for Capabilities (linux-privs) Support | srcpackage
| libcap-debugsource | Debug sources for package libcap | package
| libcap-devel | Development files for libcap | package
Do you have any idea on how we could install libcap on our system?
@dhueber Hi, I suspect that’s not an openSUSE rpm your installing? I would ignore the dependency and let it install. You can run ldd <binary name> and check it finds the system shared library.