Paul M. Eugenio wrote: > > Hi, > I trying to follow the myclass example at http://root.cern.ch/root/CintGenerator.html and I'm having soem problems linking. > > The Makefile of the example has: > LIBS = $(ROOTSYS)/lib/*.sl -lXm -lXt -lX11 -lm -lPW -ldld > > which seems outdated. I have changed this reference of LIB to: > ROOTLIBS = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib -lCont -lFunc \ > -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet \ > -lPostscript -lProof -lTree -lUnix -lZip -lRint -lGui > LIBS = $(ROOTLIBS) -lXm -lXt -lX11 -lm -lPW -lcurses > > The program will make, but when I try to run it I get a slew to loader errors. > > I have LD_LIBRARY_PATH=$ROOTSYS/lib. Could there be some other env variable that I need to set? > I have updated this page to reflect the current options. Note that in $ROOTSYS/test/Makefile we provide an example of working Makefile for all the supported platforms. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET