#clang: error while loading shared libraries: libclang-cpp.so.18.1

5 messages · Page 1 of 1 (latest)

radiant sphinx
#

I'm on Kubuntu 24.04, and trying to compile a bevy project. I tried to use clang for linking, but it's throwing the error in the title. I simply throws the error by summoning the clang command. I only installed the clang package through apt, and I don't know what I'm missing

pure sail
radiant sphinx
#
[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
radiant sphinx
#

I seem to have found the problem. I think my installation was broken