[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#72140: Setting up libraries too slow

On Thu, 21 Sep 2000, Simon Richter wrote:
> On Thu, 21 Sep 2000, Nicolás Lichtmaier wrote:
> >  Couldn't ldconfig be enhanced to act only on command-line given libraries?
> The only point in running ldconfig today is to update the symlinks, which
> could also be done by a few "ln"s in "if" statements. I think there should
> be an update-lib-symlinks(8) that handles installation and removal of
> libraries.

What about ld.so's cache? Isn't ldconfig the one responsible to keep that
thing up-to-date?

One should profile ldconfig and see exactly what takes so much time.
Building the symlink trees? Reading the directory tree (ext2 is a $#%@#$ for
directories with many files)? Reading the information for the cache file?
Something else?  I don't see the point of building a strategy to try to
minimize a problem which isn't determined exactly.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Attachment: pgpx0hopiC9bl.pgp
Description: PGP signature

Reply to: