Problem locating libClangBasic.a when building on Devuan Beowulf
Author: eyalrozCreated May 28, 2020Updated Sep 21, 2026
Labelsneedinfoinstall/build
I'm running Devuan GNU/Linux Beowulf (which is about the same as Debian Buster without systemd), and am trying to build doxygen 1.8.18 from the source tarball. If I enable using libclang for parsing, I get the error:
CMake Error at /usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake:544 (message):
The imported target "clangBasic" references the file
"/usr/lib/llvm-7/lib/libclangBasic.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/llvm-7/lib/cmake/clang/ClangTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/cmake/clang-7/ClangConfig.cmake:19 (include)
CMakeLists.txt:46 (find_package)
-- Configuring incomplete, errors occurred!I realize this might be a distribution issue rather than an issue with doxygen, but still, it's worth looking into.
Source: doxygen/doxygen