-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Ran into the following build problems:
go build --tags "selinux seccomp btrfs_noversion libdm_no_deferred_remove" -o ocid ./cmd/server/
# github.com/containers/storage/pkg/devicemapper
vendor/src/github.com/containers/storage/pkg/devicemapper/devmapper_wrapper.go:7:26: fatal error: libdevmapper.h: No such file or directory
#include <libdevmapper.h>
^
compilation terminated.
# github.com/containers/storage/drivers/btrfs
vendor/src/github.com/containers/storage/drivers/btrfs/btrfs.go:8:25: fatal error: btrfs/ioctl.h: No such file or directory
#include <btrfs/ioctl.h>
^
compilation terminated.
Makefile:55: recipe for target 'ocid' failed
make: *** [ocid] Error 2
Needed to install device-mapper-devel and btrfs-progs-devel (This is your periodic reminder that it's a pain to deal with dependencies for C libraries)
Metadata
Metadata
Assignees
Labels
No labels