"RR" == Roberto Ragusa mail@robertoragusa.it writes:
RR> When I proposed this kind of optimization in some mailing list RR> (maybe this one?!), I was answered that my method was not entirely RR> safe because there could have been problems for some rpm scripts RR> calling libraries that had been just upgraded (e.g. perl libraries) RR> without a proper ldconfig refresh.
The cache is just a cache, but ldconfig has other functionality besides generating the cache. It also creates the various symlinks to the .so* files.
RR> Was that a valid consideration? Has something changed on that front?
It was, and packages will now fail to build (via brp-ldconfig) if they don't package those symlinks. Though in practice packages which did not do this would have been exceedingly rare anyway and when I checked the package set looking for examples a year ago I think I only turned up two examples.
- J<