On 06/09/15 04:09, Marc Espie wrote: > On Mon, Jun 08, 2015 at 01:51:49PM -0400, Stuart Cassoff wrote: >> I have a couple of ports that run ranlib lib.a after installing lib.a and >> I'm wondering if that is necessary? >> I get the impression that it used to be for some systems a long time ago but >> not anymore. > > Are they running ranlib again, or are they running ranlib as the first time ? > > Ranlib is still necessary as an optimization. >
Timestamps in the lib not agreeing with the time of the lib itself and the linker complaining about it when something is linked with the lib. This would be fixed by running ranlib a second time on the lib, post-install. But I think this is a thing of the past and nowadays running ranlib a second time isn't needed.