<div dir="ltr">I think one symlink is missing i.e. from to libc++.so --> libc++.so.1.0<div><br></div><div>--</div><div>x86_64-unknown-linux]# ls -ltrh<br>total 4.0M<br>-rw-r--r-- 1 root root 1.9M Dec 13 02:47 libc++.a<br>-rwxr-xr-x 1 root root 1.1M Dec 13 02:47 libc++.so.1.0<br>-rw-r--r-- 1 root root   28 Dec 13 02:47 libc++.so<br>-rw-r--r-- 1 root root  13K Dec 13 02:47 libc++experimental.a<br>-rwxr-xr-x 1 root root 358K Dec 13 02:47 libc++abi.so.1.0<br>-rw-r--r-- 1 root root 665K Dec 13 02:47 libc++abi.a<br>lrwxrwxrwx 1 root root   13 Dec 13 07:00 libc++.so.1 -> libc++.so.1.0<br>lrwxrwxrwx 1 root root   16 Dec 13 07:00 libc++abi.so.1 -> libc++abi.so.1.0<br>lrwxrwxrwx 1 root root   14 Dec 13 07:00 libc++abi.so -> libc++abi.so.1<br></div><div>---</div><div><br></div><div>> It's part of LLVM so it should suffice to add "llvm" to LLVM_ENABLE_PROJECTS.</div><div>ok, I can try that as part of cmake configure</div><div><br></div><div>It's not clear what would be the path of LLVM_BINPATH?</div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Dec 2021 at 16:59, 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"> > # ls /usr/local/lib/x86_64-unknown-linux | grep -i libc++.so.1.0<br>
<br>
I presume the symlinks from libc++.so to libc++.so.1 to libc++.so.1.0 also exist?<br>
<br>
 > I can try with opt. Can you provide some reference on building opt on Linux?<br>
<br>
It's part of LLVM so it should suffice to add "llvm" to LLVM_ENABLE_PROJECTS.<br>
<br>
 > To override LLVM_BINPATH, do I need to install llvm-config and then override <br>
something like  "LLVM_BINPATH=$LLVM_CONFIG --bindir" ?<br>
<br>
It's unclear to me how plv8 sets LLVM_BINPATH and whether providing it as an <br>
environment variable would suffice.<br>
You could simply hardcode the path here <br>
(<<a href="https://github.com/plv8/plv8/blob/821f1638934e3f0ad4c979de442d6cb74f1e32e9/Makefile.shared#L119" rel="noreferrer" target="_blank">https://github.com/plv8/plv8/blob/821f1638934e3f0ad4c979de442d6cb74f1e32e9/Makefile.shared#L119</a>>).<br>
</blockquote></div>