Under the FHS, system packages (e.g. RPMs) install libraries to /usr/lib (or /usr/lib64).
Similarly, libraries compiled using the old "configure;make;make install" routine, which are not part of the system distribution, by default get installed to /usr/local/lib (or /usr/local/lib64).
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:
http://web.archive.org/web/20060719201954/http://www.visi.com/~barr/ldpath.html
However, shouldn't /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
see http://bugs.archlinux.org/task/20059?project=1&opened=2263
& 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.
/usr/local/libby default.