Configuring libc++ fails when using LLVM20 installed by llvm.sh on Ubuntu 24.04 Noble.
[cmake] CMake Error at /usr/lib/llvm-20/lib/cmake/clang/ClangTargets.cmake:847 (message):
[cmake] The imported target "clang-cpp" references the file
[cmake]
[cmake] "/usr/lib/llvm-20/lib/libclang-cpp.so.20.0"
[cmake]
[cmake] but this file does not exist. Possible reasons include:
[cmake]
[cmake] * The file was deleted, renamed, or moved to another location.
[cmake]
[cmake] * An install or uninstall procedure did not complete successfully.
[cmake]
[cmake] * The installation package was faulty and contained
[cmake]
[cmake] "/usr/lib/llvm-20/lib/cmake/clang/ClangTargets.cmake"
This is the latest issue in a series of issues related to LLVM19/20:
#107116
#99819
#108995