Re: [RFC] change packaging around shared libraries, ldconfig

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

 



On Wed, Jun 27, 2007 at 09:36:04AM -0500, Rex Dieter wrote:
> > Rex Dieter (rdieter@xxxxxxxxxxxx) said:
> >> Doesn't ldconfig also update ld.so.cache?  If so, won't "bad things"
> >> happen if that cache is stale, like when/if 2 pkgs are installed in a
> >> transaction, and pkg #2 depends on shlibs from pkg #1?
> > 
> > If the cache is stale, it will look in the directories for something that
> > doesn't exist in the cache. I'm trying to think of a way the cache could
> > point to the wrong *version* of the library, but nothing is coming to
> > mind.
> 
> pkg #1 upgrade: old version includes libfoo.so.1, new version includes
> libfoo.so.2
> pkg #2: scriptlet requires something from pkg #1, which uses libfoo.so.2
> bang.

Only if libfoo.so.2 is in some non-standard path.  If it is in
{,/usr}/lib{,64}, then when it won't be found in ld.so.cache, it will be
searched in the standard paths.

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux