[libcxx-dev] Problem installing libcxx and libcxxabi using Bootstrapping on Amazon Linux 2
Hasan Marzooq via libcxx-dev
libcxx-dev at lists.llvm.org
Tue Dec 14 00:52:08 PST 2021
# ls /usr/local/lib/x86_64-unknown-linux | grep -i libc++.so.1.0
libc++.so.1.0
# ldd -v /usr/local/lib/x86_64-unknown-linux/libc++.so.1.0 | grep -i
libc++.so.1.0
/usr/local/lib/x86_64-unknown-linux/libc++.so.1.0:
I can try with opt. Can you provide some reference on building opt on Linux?
To override LLVM_BINPATH, do I need to install llvm-config and then
override something like "LLVM_BINPATH=$LLVM_CONFIG --bindir" ?
Thanks!
On Tue, 14 Dec 2021 at 16:21, Raul Tambre <raul at tambre.ee> wrote:
> > Appending -L is giving same error:
>
> Is libc++.so.1.0 actually in the folder
> /usr/local/lib/x86_64-unknown-linux?
> Where is ld searching (-v)?
>
> > Below is also giving above error i.e. "make: /usr/bin/opt: Command not
> found"
>
> I guess plv8 also requires opt, so also build that. Since you are
> installing
> /usr/local you may need to override LLVM_BINPATH that plv8 uses. It's
> unclear to
> me how it's set or derived by default.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20211214/f15399dc/attachment.html>
More information about the libcxx-dev
mailing list