Arch-Linux

如何修復失去的 libLLVM-13.so 庫

  • January 5, 2022

我正在使用 Arch Linux,並llvm使用sudo pacman -S llvm. 我安裝了一些程序,如,ccls等,但它們都沒有工作:clangd``cppcheck

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

如何解決這些問題?

安裝包llvm-libs

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

引用自:https://unix.stackexchange.com/questions/685084