#clang: error while loading shared libraries: libclang-cpp.so.18.1
5 messages · Page 1 of 1 (latest)
I would suggest could you show us the command your using to compile your project with clang. So that I can review you and help you better. 🙂
[target.x86_64-unknown-linux-gnu]
rustflags = [ "-C", "link-arg=-fuse-ld=lld" ]
Invoking lld directly yields:
lld: error while loading shared libraries: libLLVM.so.18.1: cannot open shared object file: No such file or directory
I seem to have found the problem. I think my installation was broken