UbuntuにLLVM-14をインストールする方法は?

UbuntuにLLVM-14をインストールする方法は?

UbuntuにLLVM-14を手動でインストールしました。 Rust貨物のldコンパイル中を除いて、すべてがうまくいくようです。cargo-bpf

  = note: /usr/bin/ld: cannot find -lLLVM-14
          collect2: error: ld returned 1 exit status
          

error: could not compile `cargo-bpf` (bin "cargo-bpf") due to previous error

出力llvm-config --version

root@ip-172-31-0-42:/opt/llvm/cs-fw# llvm-config --version
14.0.0

LLVMパス:/opt/llvm/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04

ベストアンサー1

おすすめ記事