-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make: bpftool: Command not found #1
Comments
hello, I manage to clone the repo complete with the submodules without any modification, but still have the make error. thanks! |
In case you're still looking for advice, I had to do the following: sudo apt install linux-tools-common` then when I run: bpftool --help I received an error message like:
So then I installs tools for my kernel via: sudo apt install linux-tools-5.4.0-104-generic and then |
I'm trying to do the same for linux 6.2.0+ and have also seen: I tried to install bpftool as a submodule following https://github.com/libbpf/bpftool#dependencies but it still doesn't work... |
If running The process would be like this: rm /usr/sbin/bpftool
apt update && apt install -y git
cd / && git clone --recurse-submodules https://github.com/libbpf/bpftool.git
cd bpftool/src
make install
ln -s /usr/local/sbin/bpftool /usr/sbin/bpftool |
Hi there,
I try your steps and when I do the Make in container get the error :
bpftool net detach xdpgeneric dev eth0
make: bpftool: Command not found
make: *** [Makefile:2: xdp] Error 127
also when I clone the repo the only thing different I did was to change in .git and .gitsubmodules to the URL of the git repo of libbpf submodules like this : https://github.com/libbpf/libbpf.git
The text was updated successfully, but these errors were encountered: