Under the FHS, system packages (e.g. RPMs) install libraries to
Similarly, libraries compiled using the old "
configure;make;make install" routine, which are not part of the system distribution, by default get installed to
In general it is considered bad form to require users to alter LD_LIBRARY_PATH or
ld.so.conf for applications they install.
See for example:
/usr/local/lib be an exception to this rule?
If that's the case why don't many/most distributions include
/usr/local/lib on the library search path by default?
So far only ArchLinux seems to have considered this to be bug
& the related http://bbs.archlinux.org/viewtopic.php?id=99807
Is it more correct for an application that needs a library in
/usr/local/lib to include
/usr/local/lib in its RPATH or to expect the OS to have that setting already? I dislike the idea of using anything not based on $ORIGIN in the RPATH.
This is not a question of pedantry as it has implications for system stability and how software should be packaged.