{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/runc/issues/1032","repository_url":"https://api.github.com/repos/opencontainers/runc","labels_url":"https://api.github.com/repos/opencontainers/runc/issues/1032/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/1032/comments","events_url":"https://api.github.com/repos/opencontainers/runc/issues/1032/events","html_url":"https://github.com/opencontainers/runc/issues/1032","id":176124916,"number":1032,"title":"No package 'libseccomp' found error during runc build","user":{"login":"lizhuqi","id":15763677,"avatar_url":"https://avatars.githubusercontent.com/u/15763677?v=3","gravatar_id":"","url":"https://api.github.com/users/lizhuqi","html_url":"https://github.com/lizhuqi","followers_url":"https://api.github.com/users/lizhuqi/followers","following_url":"https://api.github.com/users/lizhuqi/following{/other_user}","gists_url":"https://api.github.com/users/lizhuqi/gists{/gist_id}","starred_url":"https://api.github.com/users/lizhuqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizhuqi/subscriptions","organizations_url":"https://api.github.com/users/lizhuqi/orgs","repos_url":"https://api.github.com/users/lizhuqi/repos","events_url":"https://api.github.com/users/lizhuqi/events{/privacy}","received_events_url":"https://api.github.com/users/lizhuqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-09T22:20:41Z","updated_at":"2016-09-13T23:18:04Z","closed_at":null,"body":"Following the steps from the release note:\r\n\r\n```\r\n$ # create a 'github.com/opencontainers' in your GOPATH/src\r\n$ cd github.com/opencontainers\r\n$ git clone https://github.com/opencontainers/runc\r\n$ cd runc\r\n$ make\r\n$ sudo make install\r\n```\r\n\r\nIt failed in make step with following errors:\r\n```\r\n$ make\r\ngo build -i -ldflags \"-X main.gitCommit=\"99c683a84fcfb0675883dc98eaa8c0bc3311e436\" -X main.version=1.0.0-rc1\" -tags \"seccomp\" -o runc .\r\n# pkg-config --cflags libseccomp libseccomp\r\nPackage libseccomp was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libseccomp.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libseccomp' found\r\nPackage libseccomp was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libseccomp.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libseccomp' found\r\npkg-config: exit status 1\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/opencontainers/runc/issues/comments/246856488","html_url":"https://github.com/opencontainers/runc/issues/1032#issuecomment-246856488","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/1032","id":246856488,"user":{"login":"lizhuqi","id":15763677,"avatar_url":"https://avatars.githubusercontent.com/u/15763677?v=3","gravatar_id":"","url":"https://api.github.com/users/lizhuqi","html_url":"https://github.com/lizhuqi","followers_url":"https://api.github.com/users/lizhuqi/followers","following_url":"https://api.github.com/users/lizhuqi/following{/other_user}","gists_url":"https://api.github.com/users/lizhuqi/gists{/gist_id}","starred_url":"https://api.github.com/users/lizhuqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizhuqi/subscriptions","organizations_url":"https://api.github.com/users/lizhuqi/orgs","repos_url":"https://api.github.com/users/lizhuqi/repos","events_url":"https://api.github.com/users/lizhuqi/events{/privacy}","received_events_url":"https://api.github.com/users/lizhuqi/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T23:18:04Z","updated_at":"2016-09-13T23:18:04Z","body":"I've already installed the latest version of pkg-config. However, still it is saying No pacakge 'libseccomp' found. I am using \"sudo apt-get install libseccomp2\" to install the libseccomp. Is there any extra command I need to run to set up libseccomp?\r\n\r\ngo build -i -ldflags \"-X main.gitCommit=\"f516b5d0821f90515d38e79c4f5d4d221dc0c331\" -X main.version=1.0.0-rc1\" -tags \"seccomp\" -o runc .\r\n# pkg-config --cflags libseccomp libseccomp\r\nPackage libseccomp was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libseccomp.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libseccomp' found\r\nPackage libseccomp was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libseccomp.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libseccomp' found\r\npkg-config: exit status 1\r\nmake: *** [all] Error 2\r\n"}}
{"actor":{"display_login":"lizhuqi"}}