[Gate-users] Problem making gate 4

Didier Benoit benoit at cppm.in2p3.fr
Sun Mar 14 23:37:16 CET 2010


Hi Nicolas,

/usr/bin/ld: cannot/find -lGraf

It means the linker (g++) didn't find the library Graf, which is a root 
library.
Check if this library is in ROOTSYS/lib, if not reinstall root (v5.14 to 
the last). If you find this library in ROOTSYS/lib, surely the PATH to 
find this library is wrong. Check this command:

export ROOTSYS=....
export PATH=$PATH:$ROOTSYS
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib

Hope this help,
Kind Regards,

Didier

Le 14/03/2010 21:51, Nicolas Ivanovich a écrit :
> Hi Gate users.
>
> Some time ago I installed Gate 5 over a virtual machine with Ubuntu. Now I
> need install it over a Linux system that runs alone, out of a virtual
> machine. I am trying to install Gate 4. I have installed the following
> software:
>
> geant4: version 9.1
> root: I don't know which version it is
> clhep: version 2.0.3.2
> gate: version 4.0
> All this software i could compile it without problems. When I tried to make
> gate I got the following message:
>
> source/management finished
> Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...
> ar: creating ./tmp/Linux-g++/Gate/libGate.a
> Compiling Gate.cc ...
> Using granular libraries ...
> Linking Gate ...
> /usr/bin/ld: cannot find -lGraf
> collect2: ld returned 1 exit status
> make: *** [bin/Linux-g++/Gate] Error 1
>
> Thank you very much once again.
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>    


-- 

*/----------------------------------------------------------------/*

*/Didier BENOIT, Ingénieur GATE/*

*/Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)/*

*/IMNC -- UMR 8165 CNRS -- Université Paris 7 -- Université Paris 11/*

*/Campus d'Orsay/*

*/Bâtiment 440/*

*/91406 ORSAY Cedex/*

*/ /*

*/Tél : (33) 1 69 15 36 46/*

*/E-mail : benoit at imnc.in2p3.fr <mailto:benoit at imnc.in2p3.fr>/*

*/http://www.imnc.in2p3.fr/*

*/----------------------------------------------------------------/*



More information about the Gate-users mailing list