Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update BUILDING.md - add dependency libseccomp-dev
I got these errors when I try to build containerd: ``` go build "-mod=vendor" "-buildmode=pie" -tags "seccomp selinux apparmor" -ldflags "-X main.gitCommit="a220b9c6cc100f71ddc67152a12fc04622313dca" -X main.version=1.0.0-rc92+dev " -o runc . 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 pkg-config: exit status 1 ``` Solved this problem by installing one extra dependency `libseccomp-dev`. I am using Ubuntu 20.04 and everything works well! See also: opencontainers/runc#1032 Signed-off-by: Jun Lin Chen <webmaster@mc256.com>
- Loading branch information