[Zlib-devel] [PATCH] Makefile.in: removed call to ldconfig
Mike Frysinger
vapier at gentoo.org
Fri Jul 23 16:47:15 EDT 2010
On Friday, July 23, 2010 16:14:05 Török Edwin wrote:
> On Fri, 23 Jul 2010 16:02:49 -0400 Mike Frysinger wrote:
> > On Friday, July 23, 2010 15:28:08 Török Edwin wrote:
> > > FWIW libtool runs ldconfig when installing the libraries, but does
> > > so wrongly. It only works if you've installed the libraries in that
> > > place before.
> >
> > eh ? previous installation status doesnt matter if it's just using
> > ldconfig to generate appropate symlinks for the SONAMEs and such. i
> > think that's the only usage in libtool not for cache management.
>
> It matters for the cache.
i think your expectation isnt matching the intention. ldconfig is there to
generate supplementary symlinks that any of the installed libraries might need
via SONAME and such. it isnt to make the libraries available to the host
system by updating the cache.
> > > IMHO safest is to just run ldconfig with no params, zlib is doing
> > > just that, so it is fine.
> >
> > the obnoxious thing is that on any sizable systems, ldconfig can chew
> > through the disk
>
> Yes, but only the first time:
no, only when the disk cache is cold for those files, and that can easily go
cold while doing different things on a desktop system.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20100723/9f7425f9/attachment.sig>
More information about the Zlib-devel
mailing list