Glibc and shared libraries
booleandomain
booleandomain@gmail.com
Fri Jul 10 14:34:00 GMT 2009
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.
More information about the Libc-help
mailing list