Bill Nottingham wrote:
I'd like to propose changing the guidelines regarding shared
libraries
as follows:
When a package places a shared library in a standard library path, it
must do the following:
- Package the symlinks for the appropriate soname of the library. If
the normal installation process of the library does not install these
symlinks, they can be created by running:
/sbin/ldconfig -n -N <path>
- Have the following scriplets in the package:
%posttrans -p /sbin/ldconfig
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?
-- Rex