libbpf / ci

BPF CI
Other
11 stars 24 forks source link

setup-build-env: Install libzstd-dev #156

Closed danobi closed 4 days ago

danobi commented 4 days ago

sched-ext selftests link against zstd. It currently fails with the following linker error:

rc/tools/testing/selftests/sched_ext/build/obj/sched_ext/test_example.o -lelf -lz -lpthread -lzstd
/usr/bin/ld: cannot find -lzstd
collect2: error: ld returned 1 exit status

Fix by installing zstd-dev package.

danobi commented 4 days ago

Tested in https://github.com/kernel-patches/bpf-rc/pull/4706