Hello i am using CentOS Linux release 7.6.1810 (Core) . I am trying to make a build of containerd project but i'am facing this issue :
`
vendor/github.com/containerd/btrfs/btrfs.go:38:25: fatal error: btrfs/ioctl.h: No such file or directory
#include
^
compilation terminated.
make: * [bin/containerd] Erreur 2
`
I keep getting same error recently.
Haven't got time to check what dependency was changed.
You just have to install the btrfs headers and it should be fine.
Have you installed btrfs-progs-devel? @fahedouch
I'm pretty sure that I only installed btrfs-tools on Ubuntu before, and it worked for me, but suddenly stopped working.
@Random-Liu btrfs-progs-devel does resolve the problem.
Most helpful comment
Have you installed
btrfs-progs-devel? @fahedouchI'm pretty sure that I only installed
btrfs-toolson Ubuntu before, and it worked for me, but suddenly stopped working.