[Gate-users] Installation problem again (cannot find -lXi)

Jérôme Suhard jerome at suhard.fr
Thu Jul 7 13:04:54 CEST 2011


Hi

error message "/usr/bin/ld: cannot find -lXi" means that you need the Xi
library which is available on your system (ubuntu ?) by typing :

sudo apt-get install libxi-dev

regards,

2011/7/7 Jasper C <jaspercwork at gmail.com>

> Hi all,
>
> I'm currently trying to install GATE again on a new desktop here at
> work (I'd previously been able to get it running on a laptop).
>
> I'm getting an error after running 'make'.  The last lines of output are:
>
> --------------------------------------------------
>
> Compiling GateVPulseProcessor.cc ...
> Compiling GateVSource.cc ...
> Compiling GateVSourceMessenger.cc ...
> Compiling GateVSourceVoxelReader.cc ...
> Compiling GateVSourceVoxelReaderMessenger.cc ...
> Compiling GateVSourceVoxelTranslator.cc ...
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> /usr/bin/ld: cannot find -lXi
> collect2: ld returned 1 exit status
> make: *** [tmp/Linux-g++/Gate/libGate.so] Error 1
>
> --------------------------------------------------
>
> I have run 'source env_gate.sh' before running 'make', and have added
> the following lines to set my environment variables:
>
> --------------------------------------------------
> export GATEHOME=/home/jasper/gate/gate_6.0_p01
> export G4INSTALL=/home/jasper/gate/geant4_9.2.p04
> export G4VERSION=9.2
> export ROOTSYS=/home/jasper/gate/root_5.28.00e
>
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/home/jasper/gate/clhep_2.0.4.2/lib
> export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM
> --------------------------------------------------
>
> and my system setup is:
>
> Ubuntu 11.04
> GATE v6.0.1
> Clhep v2.0.4.2
> Geant4 v9.2p0
> Root v5.28.00e
>
> I am able to run root with no issues if that helps.
>
> Advice greatly appreciated,
>
> Jasper
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>


-- 
Jérôme Suhard

http://jerome.suhard.fr


More information about the Gate-users mailing list