Skip to content

[cmake] CMake Error at /usr/lib/llvm-20/lib/cmake/llvm/LLVMExports.cmake:1920 (message): [cmake] The imported target "LLVM" references the file [cmake] [cmake] "/usr/lib/llvm-20/lib/libLLVM.so.1" [cmake] [cmake] but this file does not exist.  #107116

@Zingam

Description

@Zingam

Since LLVM20 has been branched I have issues with installing LLVM20 with llvm.sh. I filed an initial issue here:

#99819 which I closed after I installed the missing packages manually.

Today after I apt upgraded I encountered the following error while configuring libc++:

[cmake] CMake Error at /usr/lib/llvm-20/lib/cmake/llvm/LLVMExports.cmake:1920 (message):
[cmake] The imported target "LLVM" references the file
[cmake]
[cmake] "/usr/lib/llvm-20/lib/libLLVM.so.1"
[cmake]
[cmake] but this file does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions