Bug#991989: libclang-13-dev: dead symlink to shared library

Christian Göttsche cgzones at googlemail.com
Sat Aug 7 17:11:54 BST 2021


Package: libclang-13-dev
Version: 1:13.0.0~+rc1-1~exp1
Severity: important

The shared library symlink at '/usr/lib/llvm-13/lib/libclang-13.so' is
a dead symlink to '../../x86_64-linux-gnu/libclang-13.so.1'.
The existing targets are
  - /usr/lib/x86_64-linux-gnu/libclang-13.so
  - /usr/lib/x86_64-linux-gnu/libclang-13.so.13
  - /usr/lib/x86_64-linux-gnu/libclang-13.so.13.0.0

This causes for example 'Include What You Use' to fail to build:


CMake Error at /usr/lib/llvm-13/lib/cmake/clang/ClangTargets.cmake:706
(message):
 The imported target "libclang" references the file

    "/usr/lib/llvm-13/lib/libclang-13.so.13.0.0"

 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-13/lib/cmake/clang/ClangTargets.cmake"

 but not all the files it references.

Call Stack (most recent call first):
 /usr/lib/cmake/clang-13/ClangConfig.cmake:20 (include)
 CMakeLists.txt:20 (find_package)


-- Configuring incomplete, errors occurred!



More information about the Pkg-llvm-team mailing list