-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
Bugzilla Link | 51821 |
Resolution | FIXED |
Resolved on | Oct 11, 2021 07:23 |
Version | unspecified |
OS | Linux |
CC | @viccie30 |
Extended Description
Hi,
Currently on clang trunk bionic (14~%2b%2b20210910063816%2b14afbe9448d5-1exp120210910164619.2666) the following file is missing after installation:
/usr/lib/llvm-14/libclang-14.so.14.0.0
Indeed:
find /usr/ -iname libclang-14*.so*
/usr/lib/x86_64-linux-gnu/libclang-14.so.14.0.0
/usr/lib/x86_64-linux-gnu/libclang-14.so
/usr/lib/x86_64-linux-gnu/libclang-14.so.1
/usr/lib/x86_64-linux-gnu/libclang-14.so.13
/usr/lib/llvm-14/lib/libclang-14.so
/usr/lib/llvm-14/lib/libclang-14.so.1
/usr/lib/llvm-14/lib/libclang-14.0.0.so
This causes trouble building packages that use CMake to find Clang, for example "include-what-you-use":
CMake Error at /usr/lib/llvm-14/lib/cmake/clang/ClangTargets.cmake:709 (message):
The imported target "libclang" references the file
"/usr/lib/llvm-14/lib/libclang-14.so.14.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-14/lib/cmake/clang/ClangTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/cmake/clang-14/ClangConfig.cmake:20 (include)