2

I am using Arch Linux and I installed llvm using sudo pacman -S llvm. I installed some programs like ccls, clangd, cppcheck etc. and none of them are working:

ccls: error while loading shared libraries: libLLVM-13.so: cannot open shared object file: No such file or directory

clangd: error while loading shared libraries: libLLVM-13.so: cannot open shared object file: No such file or directory

cppcheck: error while loading shared libraries: libtinyxml2.so.9: cannot open shared object file: No such file or directory

How to fix these?

1 Answer 1

4

Install the package llvm-libs

https://archlinux.org/packages/extra/x86_64/llvm-libs/

2
  • You might want to add to your answer how you figured this out (I'm assuming with pacman -F filename, correct?). Commented Jan 5, 2022 at 18:34
  • A look at the package information for ccls and the other packages also provides the information that they need llvm-libs to work. Commented Jan 6, 2022 at 18:03

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.