error: 'struct perf_buffer_opts' has no member named 'sz' #2799
tuxerrante
started this conversation in
Development
Replies: 1 comment
-
Hello, Anyway, it seems that the libbpf.h header you use doesn't match the libbpf version on your system. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm working, as my first issue, on a Kubernetes project importing aquasecurity/libbpfgo as vendor library.
When I try to run the make deployments command to test locally my code, I get a low level error from the library (below).
VM Info:
SOLUTION:
As suggested by @yanivagman the problem was having the same package installed from ubuntu repo. After removing it and cleaning the cache, reinstalling the specific version from source worked:
Beta Was this translation helpful? Give feedback.
All reactions