[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 01:11:44 PST 2021


I think one symlink is missing i.e. from to libc++.so --> libc++.so.1.0

--
x86_64-unknown-linux]# ls -ltrh
total 4.0M
-rw-r--r-- 1 root root 1.9M Dec 13 02:47 libc++.a
-rwxr-xr-x 1 root root 1.1M Dec 13 02:47 libc++.so.1.0
-rw-r--r-- 1 root root   28 Dec 13 02:47 libc++.so
-rw-r--r-- 1 root root  13K Dec 13 02:47 libc++experimental.a
-rwxr-xr-x 1 root root 358K Dec 13 02:47 libc++abi.so.1.0
-rw-r--r-- 1 root root 665K Dec 13 02:47 libc++abi.a
lrwxrwxrwx 1 root root   13 Dec 13 07:00 libc++.so.1 -> libc++.so.1.0
lrwxrwxrwx 1 root root   16 Dec 13 07:00 libc++abi.so.1 -> libc++abi.so.1.0
lrwxrwxrwx 1 root root   14 Dec 13 07:00 libc++abi.so -> libc++abi.so.1
---

> It's part of LLVM so it should suffice to add "llvm" to
LLVM_ENABLE_PROJECTS.
ok, I can try that as part of cmake configure

It's not clear what would be the path of LLVM_BINPATH?

Thanks!





On Tue, 14 Dec 2021 at 16:59, Raul Tambre <raul at tambre.ee> wrote:

>  > # ls /usr/local/lib/x86_64-unknown-linux | grep -i libc++.so.1.0
>
> I presume the symlinks from libc++.so to libc++.so.1 to libc++.so.1.0 also
> exist?
>
>  > I can try with opt. Can you provide some reference on building opt on
> Linux?
>
> It's part of LLVM so it should suffice to add "llvm" to
> LLVM_ENABLE_PROJECTS.
>
>  > To override LLVM_BINPATH, do I need to install llvm-config and then
> override
> something like  "LLVM_BINPATH=$LLVM_CONFIG --bindir" ?
>
> It's unclear to me how plv8 sets LLVM_BINPATH and whether providing it as
> an
> environment variable would suffice.
> You could simply hardcode the path here
> (<
> https://github.com/plv8/plv8/blob/821f1638934e3f0ad4c979de442d6cb74f1e32e9/Makefile.shared#L119
> >).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20211214/93b76d3a/attachment-0001.html>


More information about the libcxx-dev mailing list