<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63915>63915</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM install error: Unable to find command despite executables existing
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
clw5710
</td>
</tr>
</table>
<pre>
I'm trying to install LLVM on an Ubuntu 20.04 VM but I'm running into issues. Here are the steps I've followed according to the [instructions][1]:
1. `git clone --depth 1 https://github.com/llvm/llvm-project.git`
2. `cd llvm-project`
3. `cmake -S llvm -B build -G Ninja -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release`
4. `ninja -C build check-llvm`
I see a build folder with bin executable that contains the llvm commands I want to use, but anytime I run a command it says "Command not found". I don't understand what the issue is.
This is probably a simple issue but I've been struggling for too long.
[1]: https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVE1v2zgQ_TX0ZSBBoiSrPujgz653k27RJAX2FFDkWGJLkQY5iut_v6AUZ73HXkSAfDNv5s0biRB0ZxEbVm1YtVuIkXrnG2kuVZ1ni9apa3NkvB6A_FXbDsiBtoGEMfDw8P0RnAVh4aUdLY3AszQr4fsjtCPBHOZHa2OctjEyhBFDCn-gRxAegXqEQHgOE_oN4eSMcRdUIKR0Xr0zRhirNpHYj5K0s4FVO1Zt8ngUa2DZjmXrPAW2zDpNII2zCEmi8Ew95NATnQMr1owfGD90mvqxTaUbGD8Y83Y7krN3P1BS2mliy2xOyqekUsE94uO1mF8H8RMheZowkGygHbVRkHyGL9r-EJDsolav-y_rzcP-9eu3v__cb5-fWLGTRtgOkt32cf3X_nXzcnzYvT7_83XPit03NCgCfjCVE5Od823fGWSP8mcytXDDzd8jBEQQ77CTMwo9XDT10GoL-AvlSKI1cQKCQDpLQtswCT31IN0wCKsCHOEiLMUhjAEZ306jFfZKekA4xvGCuKFBEwRxDcA4375fWUdwcqNVjPMUjqCcZbwmGK1CHyhCLrGEyDzZA3RI4b6V514H0AHO3rWiNVcQEPRwNjf8zWtvCC2iheiRrjPROifngZwD42yX3uecv3DnoP87JGqQOt8xflBOBsYPn5FI2-6JhCdUaU-DYbzo5tuEekyCG73ERDqFibAqmaSPjzHZQjWFWhUrscAmX35aLXNeleWibwrEqj7VkhetEIXiS1SqrfMcP2WiUjlf6IZnvMjqvM6X5Sor0zKvc1TtSWKmVkWesTLDQWiT3opeTLo0y2KVVwsjWjThtt6-mVzcjl1gZWZ0oPBfGGky2ExbfVtx9N75KM-Lnd3i4KSt-hi4wnDWhHeGCoC_dIiiLEZvmt9bPMYP8y-C8cNU_r8BAAD__yBjfpw">