-
Notifications
You must be signed in to change notification settings - Fork 858
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
bpftool
can't run on Ubuntu@WSL2
#10069
Comments
same problem here |
I solved this problem by install bpftool manually. git clone --recurse-submodules https://github.com/libbpf/bpftool.git
cd bpftool/src
sudo make install |
@zaoying yes, I'm aware. It works as I see, no issues so far in my scenarios. However, I did compile Anyways, it's just a workaround. |
Hi everyone, I'm trying to use your suggestions to get use of BPF, EBPF, or LinuxTC with WSL, but I'm still unable to use them. Can you help me to solve this? i will be very grateful if you can share the script to follow in a way to have your same scenario, and work also for me |
Would you like to share some logs? |
yes, i obtain the same result of the starting of this issue report (even after trying different potential solutions): bpftool -VWARNING: bpftool not found for kernel 5.15.90.1-microsoft You may need to install the following packages for this specific kernel: You may also want to install one of the following packages to keep up to date: |
so, basically, I m trying to use LinuxTC, BPF e EPBF (and tools implementing them) on WSL2 on Windows. I m trying different code, different repositories, but they never work |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows Version
Version 10.0.22621.1555
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1-microsoft-standard-WSL2
Distro Version
22.04
Other Software
No response
Repro Steps
apt install linux-tools-common linux-tools-generic
bpftool -V
Expected Behavior
bpftool
printed its versionActual Behavior
When trying to install any of above packages,
apt
returns an errors, such as:Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: