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]

Re: Glibc and shared libraries


Mike Frysinger wrote:
On Friday 10 July 2009 07:30:16 booleandomain wrote:
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.

ldd is correct, i simply doesnt operate the way you expect. please search the glibc wiki for how to properly invoke the new ldso to find the new libraries only.
-mike

I found http://sourceware.org/glibc/wiki/Tips_and_Tricks/Loader_Tips_and_Tricks, but it didn't tell me anything new. Please let me know if you were speaking about a different page.



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