gobpf
gobpf copied to clipboard
Compile example failed
I want to build examples by go build
command in docker which the docker was installed bcc
# github.com/iovisor/gobpf/bcc
/root/go/pkg/mod/github.com/iovisor/[email protected]/bcc/module.go:32:10: fatal error: bcc/
bpf_common.h: No such file or directory
#include <bcc/bpf_common.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
You need to install libbcc.