Re: Troubles compiling ROOT v.2.21/08 on RedHat 4.2

From: Damon Spayde (dspayde@physics.umd.edu)
Date: Wed May 26 1999 - 20:28:34 MEST


Thanks for the help.  The latter suggestion (copying libXpm.so and
libXpm.a to $ROOTSYS/lib) worked as far as getting the compiling to finish
was concerned.  Now I have a ROOT executable that will start, but it has a
couple of funny error messages at the beginning:

[sample@bpc75 root]$ root 
/home/bpc75/sample/cern/root/bin/root.exe: can't
resolve symbol '__fxstat' dlopen error: Unable to resolve symbol Load
Error: Dynamic link library /home/bpc75/sample/cern/root/lib/libttf.so can
not load
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.21/08     29 March 1999   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .q

It would be nice to lose these error messages as well.  Any ideas would be
appreciated.

					Thanks,
					Damon Spayde


On Wed, 26 May 1999, Fons Rademakers wrote:

> Hi Damon,
> 
>    try moving in the makefile -lXpm just before -lX or copy the libXpm.so and
> libXpm.a from /usr/X11R6/lib to $ROOTSYS/lib.
> 
> Cheers, Fons.
> 
> 
> 
> Damon Spayde wrote:
> > 
> > I am trying to compile the most recent version of ROOT on a Pentium
> > machine running RedHat 4.2.  The compilation proceeds smoothly using
> > Makefile.linuxrh42 in the source distribution until it attempts to build
> > root.exe. The following error message results:
> > 
> > g++ -O -o /home/bpc75/sample/cern/root/bin/root.exe MAIN_rmain.o \
> >         -L/home/bpc75/sample/cern/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPhysics -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d -lXpm -lRint -L/usr/X11R6/lib -lX
> > 11 -lg++ -lm -ldl -rdynamic
> > /home/bpc75/sample/cern/root/lib/libXpm.so: undefined reference to `__curbrk'
> > /home/bpc75/sample/cern/root/lib/libXpm.so: undefined reference to `__fxstat'
> > make: *** [/home/bpc75/sample/cern/root/bin/root.exe] Error 1
> > 
> > The first time I attempted to compile it there was a warning before the
> > undefined reference that said it could not find libc.so.6.  As a kludge I
> > made a soft link to the libc.so that does exist on this machine,
> > libc.so.5.3.12.  That cleared up the warning message, but I have no idea
> > if this mismatch is related to the undefined references above.
> > 
> > Any help would be greatly appreciated.
> > 
> >                                         Thanks,
> >                                         Damon
> > 
> > --------------------------------
> > Damon Spayde
> > Department of Physics
> > University of Maryland
> > PO Box 175
> > College Park, MD  20742
> > Phone:  (301) 405-6113
> > Fax:  (301) 405-8558
> > e-mail:  dspayde@physics.umd.edu
> > --------------------------------
> 
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910
> 

--------------------------------
Damon Spayde
Department of Physics
University of Maryland
PO Box 175
College Park, MD  20742
Phone:  (301) 405-6113
Fax:  (301) 405-8558
e-mail:  dspayde@physics.umd.edu
--------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET