scap
scap copied to clipboard
LLVM version mismatch between 17.0.6 and 18.1 (libspa-sys)
Upon cargo run, I had llvm-libs 18.1 installed.
Unable to find libclang: "the `libclang` shared library at /usr/lib/libclang.so.17.0.6 could not be opened: libLLVM-17.so: cannot open shared object file: No such file or directory"
So I uninstalled llvm-libs 18.1 and installed 17.0.6. But now it asks for llvm 17.
rustc: error while loading shared libraries: libLLVM.so.18.1: cannot open shared object file: No such file or directory
error: could not compile `libspa-sys` (lib)
OS: Arch Linux 6.10.6-arch1-1
There is a dependency mismatch somewhere, but couldn't figure out where. Appreciate any help.
Could you share some code that reproduces this issue?