[libcxx-dev] Problem installing libcxx and libcxxabi using Bootstrapping on Amazon Linux 2

Hasan Marzooq via libcxx-dev libcxx-dev at lists.llvm.org
Wed Dec 15 01:10:07 PST 2021


Sorry, my bad!

Full output of "d -v" is here:
https://drive.google.com/file/d/15okn-FtCFGE21iNVgSb5JIoCertATDeo/view?usp=sharing

---
==========================
[root at ip-10-3-0-165 ~]# ld --verbose | grep SEARCH_DIR | tr -s ' ;' \\012
SEARCH_DIR("=/usr/x86_64-redhat-linux/lib64")
SEARCH_DIR("=/usr/lib64")
SEARCH_DIR("=/usr/local/lib64")
SEARCH_DIR("=/lib64")
SEARCH_DIR("=/usr/x86_64-redhat-linux/lib")
SEARCH_DIR("=/usr/local/lib")
SEARCH_DIR("=/lib")
SEARCH_DIR("=/usr/lib")
-----
I don't see "/usr/local/lib/x86_64-unknown-linux-gnu" above. Potentially
this is the problem?

I thought this could have add the path into ld's search path.
--
# ls /etc/ld.so.conf.d/x86_64-unknown-linux-gnu.conf
/etc/ld.so.conf.d/x86_64-unknown-linux-gnu.conf
# cat /etc/ld.so.conf.d/x86_64-unknown-linux-gnu.conf
/usr/local/lib/x86_64-unknown-linux-gnu
---

Thanks!


On Wed, 15 Dec 2021 at 16:58, Raul Tambre <raul at tambre.ee> wrote:

>  > "ldconfig -v" gives a huge output, so I've made it available via the
> link
> below: It looks like path is available to ld.
>
> ldconfig outputs info about the dynamic linker's search patch. ld doesn't
> use
> that. ld's search patch is the one you're interested in.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20211215/3c474bac/attachment-0001.html>


More information about the libcxx-dev mailing list