[llvm-bugs] [Bug 51821] New: Missing /usr/lib/llvm-14/lib/libclang-14.so.14.0.0 after installation

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 11 02:27:12 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51821

            Bug ID: 51821
           Summary: Missing /usr/lib/llvm-14/lib/libclang-14.so.14.0.0
                    after installation
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: carlosgalvezp at gmail.com
                CC: llvm-bugs at lists.llvm.org

Hi,

Currently on clang trunk bionic
(14~%2b%2b20210910063816%2b14afbe9448d5-1~exp1~20210910164619.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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210911/0986afb5/attachment.html>


More information about the llvm-bugs mailing list