<div dir="ltr"><div dir="ltr">"ldconfig -v" gives a huge output, so I've made it available via the link below: It looks like path is available to ld.<div><br><div><a href="https://drive.google.com/file/d/1iXZdvqmgNCs9My-CY-7VlkvKeYaeuSAG/view?usp=sharing">https://drive.google.com/file/d/1iXZdvqmgNCs9My-CY-7VlkvKeYaeuSAG/view?usp=sharing</a><br></div></div><div><br></div><div>Let me know if you can't see?</div><div><br></div><div>Please don't get confuse between "/usr/local/lib/x86_64-unknown-linux-gnu" and "/usr/local/lib/x86_64-unknown-linux" the difference of "-gnu" is because when I don't give "-DLLVM_RUNTIME_TARGETS="x86_64-unknown-linux" in cmake configure, then "-gnu" get added by cmake. So I know this and I've stopped giving ""-DLLVM_RUNTIME_TARGETS="x86_64-unknown-linux". </div><div><br></div><div>Thanks!</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Dec 2021 at 16:22, Raul Tambre <<a href="mailto:raul@tambre.ee">raul@tambre.ee</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> > Tried creating a symlink, but unfortunately getting the same error.<br>
<br>
Then it sounds like /usr/local/lib/x86_64-unknown-linux still isn't on ld's <br>
search path. Run the faulty linker command -v, which should print a bunch of <br>
info including the search paths.<br>
<br>
 > (after doing "ninja-build -C build install-runtimes") ??<br>
<br>
install-runtimes only installs the runtimes (libc++, libc++abi and libunwind in <br>
your case). Use the regular install target for the rest.<br>
</blockquote></div></div>