This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]