This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Sharing ld.so.cache between two glibc versions on a single system
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Dmitry Mikushin <dmitry at kernelgen dot org>
- Cc: "Carlos O'Donell" <carlos at systemhalted dot org>, "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Sat, 09 Nov 2013 22:58:12 -0500
- Subject: Re: Sharing ld.so.cache between two glibc versions on a single system
- Authentication-results: sourceware.org; auth=none
- References: <527E481D dot 2010708 at kernelgen dot org> <CAE2sS1jFcZVMA5rJErdsbQQ4TUaNgS9R+iM80o-QPLvhLtYgjg at mail dot gmail dot com> <527E9D3C dot 5070203 at kernelgen dot org> <527EFAA6 dot 8090604 at redhat dot com> <527EFECA dot 8060807 at kernelgen dot org> <527EFF3C dot 5030209 at redhat dot com> <527EFFA6 dot 2000006 at kernelgen dot org>
On 11/09/2013 10:38 PM, Dmitry Mikushin wrote:
> On 11/10/2013 04:36 AM, Carlos O'Donell wrote:
>> It's not clear at all yet. You still haven't described a problem.
>
> I tried 3 times. Alright, thanks for your time and best regards!
I am trying to understand the problem, but you haven't described one.
What is going wrong? What is failing?
If you compiled glibc with --prefix=/usr then your glibc runtime
shoudl *automatically* use the default ld.so cache.
If you compiled with an arbitrary --prefix, then you've created
a distinct ABI and to support that *you* need to addd code to your
glibc to read a cache from another prefix.
Cheers,
Carlos.