Re: [ROOT] error while loading shared libraries

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


Thanks a lot, that helped!
But isn't there a way to set this automatical, like $ROOTSYS which need 
not to be set when installing in /usr/local/?

By the way, what is the purpose of the following lines in 
/etc/root/system.rootrc:

<<  # Path used by dynamic loader to find shared libraries and macros
<<  # Paths are different for Unix and Windows. The example shows the 
<<  defaults
<<  # for all ROOT applications for either Unix or Windows.
<<  Unix.*.Root.DynamicPath:    .:/usr/local/lib/root/
<<  Unix.*.Root.MacroPath:      .:/usr/local/share/root/macros/
<<  WinNT.*.Root.DynamicPath:   .;/usr/local/bin;$(PATH)
<<  WinNT.*.Root.MacroPath:     .;/usr/local/share/root/macros
 
Shouldn't they tell ROOT where to look for its libraries?

Thanks again for your patience.

Tanja


On Mon, 10 Feb 2003, Marek Kowalski wrote:

> Your LD_LIBRARY_PATH should be then:
> /usr/local/lib/root - look at the root web page.
> Marek
> 
> On Monday 10 February 2003 11:41, you 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