Re: [ROOT] Problem compiling root test programs

From: cstrato@EUnet.at
Date: Wed Apr 03 2002 - 19:52:43 MEST


Hi Damir

What do you mean with anywhere else?
My problem is that I cannot compile any of my code, I get always the same
error. Since all my make files are based on the makefile of the root
test programs, I tried to compile these and got the same error message.

It is also not quite clear to me what the error message means, since
I get an object file myprogram.o which means that the compiler must
have found the root libs, but it is not able to create the dictionary.
Usually, I think that there must be a mistake in my makefile, but
this can no longer be me.

Do you have any hints, which options I could try?
(I do not understand why Linux != Linux  !!!)

Regards
Christian

Damir Buskulic wrote:

> Hi Christian,
>
> I'm using Suse7.3 on PPC (Powerbook) and don't see any problem. Just
> compiled the 3.03/03 and it worked fine. Do you have this behaviour
> anywhere else ?
>
> Damir
>
> cstrato@EUnet.at wrote:
> > Dear Rooters
> >
> > Due to diverse problems I had to reformat my HD and have now
> > installed YellowDog Linux on my PowerBook since LinuxPPC no
> > longer exists.
> >
> > I could successfully compile root_v3.03.02 and run the tutorials.
> > However, now I am not able to compile the test programs (or
> > my own programs) due to the following error:
> > [strato@localhost test]$ make
> > Generating dictionary EventDict.cxx...
> > rootcint: error while loading shared libraries: libCint.so:
> > cannot load shared object file: No such file or directory
> > make: *** [EventDict.cxx] Error 127
> >
> > Since I had the same problem some time ago with LinuxPPC 2000
> > due to an error in the make file, see:
> > http://root.cern.ch/root/roottalk/roottalk01/3032.html
> > I suppose that my current problems may be caused by a similar
> > problem, maybe once again in the following part:
> > ifeq ($(ARCH),linuxppcegcs)
> > # MkLinux with egcs/glibc
> > CXX           = g++
> > CXXFLAGS      = -O -Wall -fPIC
> > LD            = g++
> > LDFLAGS       = -O
> > SOFLAGS       = -shared
> > #SOFLAGS       = -shared -Wl,-soname
> > endif
> >
> > Could it be that SOFLAGS need a different definition with
> > YellowDog Linux 2.1 than with LinuxPPC 2000?
> >
> > The following shows my PATH settings:
> > [strato@localhost test]$ echo $PATH
> > /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/strato/bin:/home/strato/rt/root/bin
> >
> > [strato@localhost test]$ echo $LD_LIBRARY_PATH
> > :/home/strato/rt/root/lib
> >
> > Any help would be greatly appreciated.
> >
> > Best regards
> > Christian
> > ----------------------------------
> > C.h.r.i.s.t.i.a.n  S.t.r.a.t.o.w.a
> > V.i.e.n.n.a,  A.u.s.t.r.i.a
> >
> >
> >
>
> --
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET