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: unassignedb...@nondot.org
          Reporter: carlosgalv...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to