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

Re: Bug#519941: Remove Policy permission for packages to modify ld.so.conf



On Sun, Jun 21, 2009 at 09:43:16PM +0200, Christian Holm Christensen wrote:
> 
> This could be very bad for the root-system package set.   ROOT has
> libraries named like libMatrix, libPostscript, libPhysics, libMath, and
> so on - i.e., very general names.   For that reason I moved all the
> packages into the subdirectory /usr/lib/root to not cause possible
> conflicts.   To make this work seamlessly for both the root-system
> binaries and user code linked against the libraries, I dump a file
> in /etc/ld.so.conf.d/.  
> 
> For the root-system binaries, there is of course the option to link with
> RPATH set.   However, I believe that the Policy actually forbids this.  

I see no reason why policy should forbid rpath's for that case.
What we don't want is an rpath for "/usr/lib".  But an rpath
for "/usr/lib/root" would be the right thing to do for
libraries/binaries from the root system.


Kurt


Reply to: