This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Glibc and shared libraries
- From: booleandomain <booleandomain at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Fri, 10 Jul 2009 13:30:16 +0200
- Subject: Glibc and shared libraries
Hello,
I'm trying to build glibc-2.10.1.
I'd like to install it in a directory called ${DIR}/tools. There is also
a symlink (/tools) that points to ${DIR}/tools.
I did a configure with --prefix=/usr, make and make install
install_root=/tools. Everything went well, except one thing: if I do ldd
/tools/lib64/libnss_compat.so.2, I obtain something as libc.so.6 =>
/lib/libc.so.6. This is not good. I'd like to obtain something as
libc.so.6 => /tools/lib/libc.so.6.
How can I do that? The only way I know is to configure glibc with
--prefix=/tools, but that seems to broke later things in a subtle way.
Thanks.