From de03338ac2e0d24724c31e5cebc1f7a26e21137c Mon Sep 17 00:00:00 2001 From: Leon P Wang Date: Fri, 18 Oct 2024 23:46:06 +0800 Subject: [PATCH] Add necessary package installation info bpf-linker installation on debian distro requires additional packages, which only updated in https://github.com/aya-rs/bpf-linker yet to the book. --- docs/book/start/development.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/book/start/development.md b/docs/book/start/development.md index b878fd6..3ed8aa6 100644 --- a/docs/book/start/development.md +++ b/docs/book/start/development.md @@ -18,6 +18,7 @@ the rust toolchain if you are running **on a linux x86_64 system** with: ```console cargo install bpf-linker ``` +> On Debian based distributions, you need to install the `llvm-19-dev`, `libclang-19-dev` and `libpolly-19-dev` packages (suppose you are using LLVM 19). If you are running **macos, or linux on any other architecture**, you need to install the newest stable version of LLVM first (for example, with `brew install llvm`),