解决ERROR: C shared or static library 'cap' not found

报错原因是因为系统里没有安装libcap,可以通过包管理器安装:

# Ubuntu/Debian
sudo apt-get install libcap-dev

# CentOS/RHEL
sudo yum install libcap-devel

# macOS
brew install libcap

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/解决error-c-shared-or-static-library-cap-not-found

评论(0)

还没有评论,来抢沙发吧~

验证码