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

Gianfranco Costamagna locutusofborg at debian.org
Fri Aug 27 14:42:43 BST 2021


control: fixed -1 1:13.0.0~+rc1-2
control: close -1

Hello, I did check 1:13.0.0~+rc1-2 and the link is not dead anymore.

ls -l /usr/lib/llvm-13/lib/libclang-13.so
lrwxrwxrwx 1 root root 39 Aug 19 16:13 /usr/lib/llvm-13/lib/libclang-13.so -> ../../x86_64-linux-gnu/libclang-13.so.1

ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.1 
lrwxrwxrwx 1 root root 17 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.1 -> libclang-13.so.13

ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13
lrwxrwxrwx 1 root root 21 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13 -> libclang-13.so.13.0.0

ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13.0.0
-rw-r--r-- 1 root root 32732928 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13.0.0


I'm closing it



On Sat, 7 Aug 2021 18:11:54 +0200 =?UTF-8?Q?Christian_G=C3=B6ttsche?= <cgzones at googlemail.com> wrote:
> 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