<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/109153>109153</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
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.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Zingam
</td>
</tr>
</table>
<pre>
Configuring libc++ fails when using LLVM20 installed 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:
https://github.com/llvm/llvm-project/issues/107116
https://github.com/llvm/llvm-project/issues/99819
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVEFznTYQ_jXishNGLOAHBw7Pdt4p6fTg9tCbQAuoFhKjlez633cAv7SdJGOn4SBYafR93367rGI2kyPqRH0r6vtMpTj70P1h3KSWrPf6pbvzbjRTCsZNYE0_CLwVeAujMpbheSYHibezT59-_4wSjOOorCUN1j4tOc_gHfzWJxcTYJXLCn7xvaVcyHshz69r-RFEfTss6pFEfQ93n9UjwccQfAAVQeAlcRB4sabfVvu0fED5JT6u4WWwyk0CL3fb-0GFiSLnx2F5bqoTCGwWYlYTCWxFeSX_F_HDTGCW1YdIGuIOAQJxR_4wrKtAhEAjBXIDMcSZYDSWvgb6emd_BOIbyWwOX9ly9jnKXG633sXQpwhxNryLAu2JwfkI9JfhmAP86plNbwkCKfaOwbjBJk3ftOJb-ALPu0U7_LNi0GQpkhZ4B4GcWo5PH2DxT5uDHpTzcaYA1g8qGu_y9zOd3bWZNsTkrsEa_EA6BQJt9J7g4Jd1EwKchoGYx2Ttyw8w7WU_0HeRsKrhUU1HjqNKNr6AchoG76IyjvR7oN-u9Tsa90vl9_Vhq605-s6qSBzBMKdNPChgCoYY_HhssijPr7LmGNctFHgReJlMnFOfD3551XSVtgb_Jw1R4OUVAC-FPBXFzc-itG1TtJnuSt2WrcqoK054c3Mq6lOVzR2VsijVjZZF2ZMcK6n6k0bdN01by1OPmelQYiXboimqui2rXJXy1JAc27JRTYNSVJIWZWy-jxwfpmyn7grZFnWZWdWT5X3EITp6PvzZvK3vs9Dtqvs0saikNRz5H5hooqXuf06F_4w0-LHW-M4Y-D7kGz9_loLtfqYNdiOfOvw7AAD__1XC7to">