<div dir="ltr">Perfect! plv8 is installed now. Thanks again for your help! A big relief -:)<div><br></div><div>Previously, if you notice, I've installed "opt" via yum. This was because I didn't find opt in the command line even after having below cmake configuration.</div><div><br></div><div>cmake -G Ninja -S llvm -B build -DLLVM_ENABLE_PROJECTS="clang;llvm" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" -DLLVM_PARALLEL_LINK_JOBS=1 -DCMAKE_BUILD_TYPE=Release<br><div><br></div><div>My assumption was that having llvm in -DLLVM_ENABLE_PROJECTS will build "opt" as well. </div><div><br></div><div>-----</div><div># pwd<br>/root/llvm-project/build/tools/opt<br># cmake -P cmake_install.cmake<br>-- Install configuration: "Release"<br>CMake Error at cmake_install.cmake:46 (file):<br> file INSTALL cannot find "/root/llvm-project/build/bin/opt": No such file<br> or directory.<br>-----<br><br></div><div>Didn't had opt under "/usr/local/lib" either.<br></div><div><br></div><div>I want to use the above cmake approach for building and installing "opt" instead of installing via yum. </div><div><br></div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 16 Dec 2021 at 17:39, 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">Per the "ldconfig -v" output you gave previously /usr/local/lib isn't on the <br>
dynamic linker's search path, but is on ld's.<br>
<br>
I'd add /usr/local/lib to the dymanic linker's search path with a config in <br>
/etc/ld.so.conf.d. Don't forget to run ldconfig afterwards to refresh the cache.<br>
</blockquote></div>