libstdc++.so.6: cannot open shared object file: No such file or directory during check phase

Florian Weimer fw@deneb.enyo.de
Mon Oct 7 09:22:50 GMT 2024


* Misha Nesterenko:

> Hi Florian,
>
> it is configured with a custom prefix:
>> pfx=$(realpath ../install); ../configure --prefix=$pfx --exec-prefix=$pfx
> --disable-werror
>
> Configuring with /usr prefix helps. However, I need glibc with a custom
> prefix installed next to a system one. What would be a correct build
> configuration for this case?

It depends on what you want to do.  Should the newly built glibc
search for DSOs in the standard system directories?  The answer to
that depends on why you are building a custom glibc.


More information about the Libc-help mailing list