On Mon, 2009-12-21 at 15:31 -0600, Jon Ciesla wrote:
- Libraries which are used by other programs at runtime should be
versioned, and in %{_libdir} -- Are there exceptions to this? When is it appropriate to leverage subdirectories and /etc/ld.so.conf.d/?
How so, by adding a path to /etc/ld.so.conf?
At least the MPI packaging guidelines are an exception to this one: the libraries are placed in MPI flavor specific directories, e.g. %{_libdir}/openmpi/lib, which should not be visible to programs by default. Instead, it is the environment module that sets the relevant environment variables to make the libraries and runtimes usable.