scap icon indicating copy to clipboard operation
scap copied to clipboard

LLVM version mismatch between 17.0.6 and 18.1 (libspa-sys)

Open tridentic opened this issue 1 year ago • 1 comments

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.

tridentic avatar Sep 01 '24 08:09 tridentic

Could you share some code that reproduces this issue?

MAlba124 avatar Sep 02 '24 16:09 MAlba124