libbpfgo
libbpfgo copied to clipboard
LIBBPF_MAJOR_VERSION missing
LIBBPF_MAJOR_VERSION function is missing on ubuntu server. if we just install ubuntu distribution version as 0.5
root@d82887bb353b:/# dpkg -l | grep libbpf
ii libbpf-dev:amd64 1:0.5.0-1ubuntu22.04.1 amd64 eBPF helper library (development files)
ii libbpf0:amd64 1:0.5.0-1ubuntu22.04.1 amd64 eBPF helper library (shared library)
it seems the LIBBPF_MAJOR_VERSION is only available after 0.6 version of libbpf, is that possible to avoid manual build for libbpf binary packages?
You shouldn't rely in the distro's libbpf packages before v1.0, IMHO. There was no guarantees (despite upstream being very good in maintaining the API until v1.0). But, still, v0.5 is too old.
Closing this because it doesn't seem like a problem.