cri-o: Error in make on RHEL7
I am facing below error while executing “make” on my RHEL7 system. I am following tutorial given in README.md file.
[mvora@macsystem cri-o]$ make
go build -o ocid
-tags “selinux seccomp libdm_no_deferred_remove”
github.com/kubernetes-incubator/cri-o/cmd/ocid
github.com/kubernetes-incubator/cri-o/vendor/github.com/containers/storage/pkg/devicemapper
/usr/bin/ld: cannot find -ldevmapper
collect2: error: ld returned 1 exit status
github.com/kubernetes-incubator/cri-o/vendor/github.com/mtrmac/gpgme
vendor/github.com/mtrmac/gpgme/data.go:4:20: fatal error: gpgme.h: No such file or directory // #include <gpgme.h> ^ compilation terminated.
pkg-config --cflags libseccomp libseccomp
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
make: *** [ocid] Error 2
When I try to install libseccomp it returns following.
Package libseccomp-2.3.1-2.el7.x86_64 already installed and latest version Nothing to do
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (9 by maintainers)
do you have
gpgme-devel
? it’s not failing on seccomp but gpgme.h not being installed