A per-user or per-application ld.so.cache?
Ben Woodard
woodard@redhat.com
Mon Feb 8 23:00:00 GMT 2016
> On Feb 8, 2016, at 12:36 PM, Carlos O'Donell <carlos@redhat.com> wrote:
>
> Are you familiar with what goes into /etc/ld.so.cache? It is only a cache
> of lookups, not the DSOs themselves, so we would be caching the results of
> a search of the user directories and recording the DSOs found there, nothing
> more. The user is already mostly accustomed to using ldconfig as root to
> update the global cache,
That is probably not true in the cases that I’m familiar with but I will agree that it could relatively easily be taught. Having them specify the directories that they want searched in a .ld.so.conf or maybe in a .ld.so.conf.appname in the directory for the application could speed things up considerably.
> this is just an extension to allow ldoconfig to
> be run by the user.
-ben
More information about the Libc-alpha
mailing list