ccls: Error occur during linking.

OS: Archlinux With testing on and all up to date llvm packages and version:

local/clang-compiler-rt-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    The "compiler-rt" set of runtime libraries for Clang and LLVM
local/clang-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    C language family frontend for LLVM
local/clang-tools-extra-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    Standalone tools for Clang: syntax checking, formatting, refactoring, etc.
local/lib32-llvm-libs 6.0.0-1
    Low Level Virtual Machine (runtime library)(32-bit)
local/lld-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    A linker from the LLVM project
local/llvm-libs-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    The LLVM Compiler Infrastructure (runtime libraries)
local/llvm-svn 7.0.0svn_r334049-1 (llvm-toolchain-svn)
    The LLVM Compiler Infrastructure

When I installing ccls-git from aur, the error below occurred.

[100%] Linking CXX executable ccls
/usr/bin/ld: 找不到 -lLLVM_LIBRARY-NOTFOUND
collect2: 错误:ld 返回 1
make[2]: *** [CMakeFiles/ccls.dir/build.make:964:ccls] 错误 1
make[1]: *** [CMakeFiles/Makefile2:68:CMakeFiles/ccls.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2

I don’t know what to do now. 😦

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

@Synray Good, it works, though it has some conflict files, I’ll try to figure that out.