...
libbpf: Error loading .BTF into kernel: -22.
Failed to load SK_SKB verdict prog
but i have clang-10:
ii clang 1:10.0-50~exp1 amd64 C, C++ and Objective-C compiler (LLVM based)
ii clang-10 1:10.0.0-2ubuntu2 amd64 C, C++ and Objective-C compiler
ii libclang-common-10-dev 1:10.0.0-2ubuntu2 amd64 Clang library - Common development package
ii libclang-cpp10 1:10.0.0-2ubuntu2 amd64 C++ interface to the Clang library
ii libclang1-10 1:10.0.0-2ubuntu2 amd64 C interface to the Clang library
FWIW, i'm having a similar problem on Focal 5.4:
https:/ /paste. ubuntu. com/p/CdFBr9QmH p/
...
libbpf: Error loading .BTF into kernel: -22.
Failed to load SK_SKB verdict prog
but i have clang-10:
ii clang 1:10.0-50~exp1 amd64 C, C++ and Objective-C compiler (LLVM based) common- 10-dev 1:10.0.0-2ubuntu2 amd64 Clang library - Common development package
ii clang-10 1:10.0.0-2ubuntu2 amd64 C, C++ and Objective-C compiler
ii libclang-
ii libclang-cpp10 1:10.0.0-2ubuntu2 amd64 C++ interface to the Clang library
ii libclang1-10 1:10.0.0-2ubuntu2 amd64 C interface to the Clang library