Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arjOman opened this issue Sep 1, 2024 · 1 comment
Open

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

arjOman opened this issue Sep 1, 2024 · 1 comment

Comments

@arjOman
Copy link

arjOman commented Sep 1, 2024

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.

@MAlba124
Copy link
Contributor

MAlba124 commented Sep 2, 2024

Could you share some code that reproduces this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants