Re: [ROOT] error while loading shared libraries

From: Tanja Striepling (tanja@ikp.uni-koeln.de)
Date: Mon Feb 10 2003 - 15:04:13 MET


Hi Yuri,

I checked that again. Yes, root.exe is in /usr/local/bin, and the 
libraries are in /usr/local/lib/root.
I installed ROOT using the second methode discribed in the documentation, 
with
 
./configure linux --prefix=/usr/local.
make 
make install

By the way, adding /usr/local/lib/root to /etc/ld.so.conf solved the 
problem.

Tanja

On Mon, 10 Feb 2003, Yuri Kharlov wrote:

> Hi Tanja,
> 
> According to your mail, root.exe is located as /usr/local/bin/root.exe. 
> Hence, ROOTSYS=/usr/local and root libraries should be in $ROOTSYS/lib, 
> i.e. in /usr/local/lib. But you've wrote that root libraries are located 
> in /usr/local/lib/root/ which is one level down and is not in the 
> $LD_LIBRARY_PATH. There is some mismatching between root binary programs 
> and root libraries: either root.exe should be in /usr/local/root/bin, or 
> libraries should be in /usr/local/lib.
> 
> Yuri Kharlov.
> 
> Tanja Striepling wrote:
> 
> > As I have said I install ROOt in /usr/local,thus I assume that $ROOTSYS 
> > then must be /usr/local, and therefor LD_LIBRARY_PATH should be /usr/local/lib.
> > Unfortunatly, that does not work.
> > 
> > Any suggestions, what's wrong?
> > 
> > Thanks
> > 
> > Tanja
> > 
> > 
> > On Mon, 10 Feb 2003, Marek Kowalski wrote:
> > 
> > 
> >>Have you defined LD_LIBRARY_PATH ? It should point to
> >>$ROOTSYS/lib.
> >>
> >>Marek
> >>
> >>On Monday 10 February 2003 11:09, you 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
> >>
> > 
> > 
> > 
> 
> 
> 
> 



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