Build failed for apt-get install LLVM
system:
Linux MININT-ODP168 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Install llvm with command:
sudo apt-get install llvm-10*
The error message is:
Compiling llvm-sys v110.0.1
error: could not find native static library `Polly`, perhaps an -L flag is missing?
error: aborting due to previous error
error: could not compile `llvm-sys`
To learn more, run the command again with --verbose.
Cargo.toml
[package]
name = "llvm-sys-demo"
version = "0.1.0"
authors = ["yukang <moorekang@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
llvm-sys = "110"
