Sharing ld.so.cache between two glibc versions on a single system

Carlos O'Donell carlos@redhat.com
Sun Nov 10 03:58:00 GMT 2013


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.



More information about the Libc-help mailing list