Re: [ROOT] error while loading shared libraries

From: Jens Ivar Jordre (jensivar.jordre@fi.uib.no)
Date: Mon Feb 10 2003 - 15:30:26 MET


Hi Christian.

Christian Holm Christensen wrote:
> 
>>Reconfigure ROOT and add option --libdir=<some std. libdir>. By <some 
>>std. libdir> I mean some directory specified in your system's 
>>/etc/ld.so.conf. By default ROOT places library files into 
>><prefix>/lib/root, which is also by default not listed in your 
>>/etc/ld.so.conf. If your system's /etc/ld.so.conf has /usr/local/lib 
>>included that would be the natural directory to specify with --libdir.
> 
> 
> Erhm, I'd like to warn against that.  ROOT contains a library called
> `libMatrix' which unfortunately is a quite common name - hence you
> could unknowingly install the ROOT library over some other packages'
> library.   Be wary of these names clashes (Also, libCore, libNew,
> libTable, libGeom, and so on ... pretty common names).  Hence we
> (Fons and I) opted for the `namespace' of `<prefix>/lib/root'.  

I'm aware of this potential problem. But that make me ask why the lib 
names where not chosen to avoid this. I mean, instead of putting the 
libs into `<prefix>/lib/root', why couldn't they be put in the more 
`standard' `<prefix>/lib' and have names like libRoot{Matrix,Core,Table} 
etc. Is there any rationale for this choice?

Best wishes from
Jens Ivar

-- 
           _____________________________________________________
  ________|                  Jens Ivar Jřrdre                   |_______
  \       | Dept. of Physics                        Office: 521 |      /
   \      | Allégt 55                    Phone: +47 55 58 27 92 |     /
    \     | 5007 Bergen                    Fax: +47 55 58 94 40 |    /
    /     | Norway            E-mail: jensivar.jordre@fi.uib.no |    \
   /      |_____________________________________________________|     \
  /__________)                                               (_________\



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET