Package libseccomp was not found in the pkg-config search path.

下载runc源码, 并执行make操作的时候,报错:

Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libseccomp' found
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libseccomp' found

解决办法:

Update the package index:
$ sudo apt-get update

Install libseccomp-dev deb package:
$ sudo apt-get install -y libseccomp-dev

你可能感兴趣的:(linux,docker)