Re: [ROOT] error while loading shared libraries

From: Jens Ivar Jordre (jensivar.jordre@fi.uib.no)
Date: Mon Feb 10 2003 - 13:07:51 MET


Hi Tanja.

I had the same problem some time ago. I found at least three solutions 
to the problem. You should choose only one of them.

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.

With superuser privileges you can update your /etc/ld.so.conf with a 
line containing /usr/local/lib/root. Thereafter you have to rerun 
ldconfig. Nothing more should be necessary to do.

Finally, last option is to set your LD_LIBRARY_PATH to include 
/usr/local/lib/root, since that is where your library files have been 
placed.

Best wishes from
Jens Ivar

Tanja Striepling wrote:
> Hi there;
> 
> I'm trying to install ROOT_3.04 on a RedHat 7.3 machine.
> I compiled it from source and installed it in /usr/local/.
> Unfortunately /usr/local/bin/root.exe does not find the shared libraries 
> in /usr/local/lib/root/.
> 
> What is wrong? What can I do?
> 
> Thanks for any help
> 
> Tanja
> 
> 
> 

-- 
           _____________________________________________________
  ________|                  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