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

Bug#519941: 10.2 Libraries recommends use of /etc/ld.so.conf instead of /etc/ld.so.conf.d



Steve Langasek <vorlon@debian.org> writes:

> This recommendation needs to be elminated entirely.  It is *not* ok for
> packages that provide libraries to stick extra linker paths in the
> global configuration, whether by modifying ld.so.conf or by adding to
> /etc/ld.so.conf.d.  Either the libraries provided by the packages are
> meant to be public, in which case they should be installed to the
> standard library path instead of needlessly adding another directory
> that's going to be globally visible anyway; or they should not, and the
> cooperating packages should use rpath instead.
>
> Use of rpath should still be discouraged, but if someone is bound and
> determined to violate the FHS with their library paths in order to have
> private libraries, they should make them really private with rpath
> instead of using this "compromise" solution that takes the worst of each
> approach.

Seconded.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: