Re: Linking Event.cxx problem

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Mar 27 1998 - 15:31:55 MET


Hi Tadeusz, 

   you need to install the latest libXpm.so on your machine.
Get ftp://root.cern.ch/pub/libXpm.so.4.9.gz. unzip and name
is $ROOTSYS/lib/libXpm.so or install it in /usr/X11R6/lib.

The latest release contains already $ROOTSYS/lib/libXpm.so.

Cheers, Fons.


Tadeusz Pytlos wrote:
> 
> Hello Rooters,
> I'm trying to link program from $ROOT/test on linux 2.0.30. I tried
> to used ROOT 2.0 (root_v2.00.Linux.2.0.33.tar.gz). It failed.
> What could be a reason of it?
> Best wishes,
>           Tadeusz
> 
> pytlos@fizwe7:/home/pytlos/test > make
> g++ -Wl,-soname,libEvent.so -shared -g Event.o EventCint.o -o libEvent.so
> g++ -g MainEvent.o Event.o EventCint.o -L/opt/root/lib -lNew -lBase -lCint
> -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta
> -lMinuit -lNet -lPostscript -lProof -lTree -lUnix -lZip -lg++ -lm -ldl
> -rdynamic -o Event
> Event done
> g++ -g hworld.o -L/opt/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc
> -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPostscript
> -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d -L/usr/X11R6/lib
> -lXpm -lX11 -lg++ -lm -ldl -rdynamic -o hworld
> /opt/root/lib/libGX11.so: undefined reference to `XpmFree'
> make: *** [hworld] Error 1
> 
> --
> Tadeusz Pytlos
> mailto:pytlos@fizwe5.fic.uni.lodz.pl
> Lodz, Poland

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



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