Message: /usr/bin/ld: cannot find -lXpm Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question /usr/bin/ld: cannot find -lXpm 

Forum: Installation and Configuration
Date: 04 Jan, 2010
From: <sxhuxinhui@163.com>

Hi!

I am a new man about geant4 I have installed CLHEP2.0.4.5 on ubuntu9.10 successfully. But when I do the initial build of geant4.9.3 there are some errors:

./Configure -build

................. .................

Creating global shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4interfaces.so ... /usr/bin/ld: cannot find -lXpm

collect2: ld returned 1 exit status

make[1]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4interfaces.so] error 1

make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;

make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;

make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;

Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4FR.so ...

I go back do the build "./Configure -build"again the still the error

So what is the problem? Whether I can solve the problem by building the geant4.9.2.p02?

thanks in advance

*************************************************************
 Installation Geant4 version : geant4-09-03 
 Copyright (C) 1994-2009 Geant4 Collaboration                            
*************************************************************
Nothing to be done for libG4global in management/.
Nothing to be done for libG4global in HEPNumerics/.
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
Nothing to be done for libG4geometry in management/.
Nothing to be done for libG4geometry in volumes/.
Nothing to be done for libG4geometry in magneticfield/.
Nothing to be done for libG4geometry in navigation/.
Nothing to be done for libG4geometry in biasing/.
Nothing to be done for libG4geometry in divisions/.
Nothing to be done for libG4geometry in solids/CSG/.
Nothing to be done for libG4geometry in solids/specific/.
Nothing to be done for libG4geometry in solids/Boolean/.
Nothing to be done for libG4geometry in solids/BREPS/.
Nothing to be done for libG4particles in management/.
Nothing to be done for libG4particles in bosons/.
Nothing to be done for libG4particles in leptons/.
Nothing to be done for libG4particles in shortlived/.
Nothing to be done for libG4particles in hadrons/mesons/.
Nothing to be done for libG4particles in hadrons/barions/.
Nothing to be done for libG4particles in hadrons/ions/.
Nothing to be done for libG4particles in adjoint/.
Nothing to be done for libG4particles in utils/.
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
Nothing to be done for libG4digits_hits in detector/.
Nothing to be done for libG4digits_hits in hits/.
Nothing to be done for libG4digits_hits in digits/.
Nothing to be done for libG4digits_hits in utils/.
Nothing to be done for libG4digits_hits in scorer/.
Nothing to be done for libG4processes in management/.
Nothing to be done for libG4processes in cuts/.
Nothing to be done for libG4processes in optical/.
Nothing to be done for libG4processes in decay/.
Nothing to be done for libG4processes in scoring/.
Nothing to be done for libG4processes in biasing/.
Nothing to be done for libG4processes in transportation/.
Nothing to be done for libG4processes in parameterisation/.
Nothing to be done for libG4processes in electromagnetic/adjoint/.
Nothing to be done for libG4processes in electromagnetic/muons/.
Nothing to be done for libG4processes in electromagnetic/standard/.
Nothing to be done for libG4processes in electromagnetic/utils/.
Nothing to be done for libG4processes in electromagnetic/xrays/.
Nothing to be done for libG4processes in electromagnetic/lowenergy/.
Nothing to be done for libG4processes in electromagnetic/highenergy/.
Nothing to be done for libG4processes in electromagnetic/polarisation/.
Nothing to be done for libG4processes in hadronic/cross_sections/.
Nothing to be done for libG4processes in hadronic/management/.
Nothing to be done for libG4processes in hadronic/models/abrasion/.
Nothing to be done for libG4processes in hadronic/models/binary_cascade/.
Nothing to be done for libG4processes in hadronic/models/cascade/cascade/.
Nothing to be done for libG4processes in hadronic/models/cascade/evaporation/.
Nothing to be done for libG4processes in hadronic/models/cascade/utils/.
Nothing to be done for libG4processes in hadronic/models/chiral_inv_phase_space/body/.
Nothing to be done for libG4processes in hadronic/models/chiral_inv_phase_space/cross_sections/.
Nothing to be done for libG4processes in hadronic/models/chiral_inv_phase_space/fragmentation/.
Nothing to be done for libG4processes in hadronic/models/chiral_inv_phase_space/interface/.
Nothing to be done for libG4processes in hadronic/models/chiral_inv_phase_space/processes/.
Nothing to be done for libG4processes in hadronic/models/coherent_elastic/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/ablation/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/evaporation/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/fermi_breakup/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/fission/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/gem_evaporation/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/handler/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/management/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/multifragmentation/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/photon_evaporation/.
Nothing to be done for libG4processes in hadronic/models/de_excitation/util/.
Nothing to be done for libG4processes in hadronic/models/em_dissociation/.
Nothing to be done for libG4processes in hadronic/models/high_energy/.
Nothing to be done for libG4processes in hadronic/models/im_r_matrix/.
Nothing to be done for libG4processes in hadronic/models/incl/.
Nothing to be done for libG4processes in hadronic/models/isotope_production/.
Nothing to be done for libG4processes in hadronic/models/leading_particle/.
Nothing to be done for libG4processes in hadronic/models/lll_fission/.
Nothing to be done for libG4processes in hadronic/models/low_energy/.
Nothing to be done for libG4processes in hadronic/models/management/.
Nothing to be done for libG4processes in hadronic/models/neutron_hp/.
Nothing to be done for libG4processes in hadronic/models/parton_string/diffraction/.
Nothing to be done for libG4processes in hadronic/models/parton_string/hadronization/.
Nothing to be done for libG4processes in hadronic/models/parton_string/management/.
Nothing to be done for libG4processes in hadronic/models/parton_string/qgsm/.
Nothing to be done for libG4processes in hadronic/models/photolepton_hadron/muon_nuclear/.
Nothing to be done for libG4processes in hadronic/models/pre_equilibrium/exciton_model/.
Nothing to be done for libG4processes in hadronic/models/qmd/.
Nothing to be done for libG4processes in hadronic/models/radioactive_decay/.
Nothing to be done for libG4processes in hadronic/models/rpg/.
Nothing to be done for libG4processes in hadronic/models/theo_high_energy/.
Nothing to be done for libG4processes in hadronic/models/util/.
Nothing to be done for libG4processes in hadronic/processes/.
Nothing to be done for libG4processes in hadronic/stopping/.
Nothing to be done for libG4processes in hadronic/util/.
Nothing to be done for libG4parmodels in gflash/.
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `global'&#12290;
Nothing to be done for libG4physicslists in lists/.
Nothing to be done for libG4physicslists in builders/.
Nothing to be done for libG4persistency in mctruth/.
Nothing to be done for libG4persistency in ascii/.
Nothing to be done for libG4interfaces in common/.
Nothing to be done for libG4interfaces in basic/.
Nothing to be done for libG4interfaces in GAG/.
Creating global shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4interfaces.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[1]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4interfaces.so] &#38169;&#35823; 1
make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;
make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;
make[2]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `lib'&#12290;
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4FR.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4FR.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4visHepRep.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4visHepRep.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4RayTracer.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4RayTracer.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4VRML.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4VRML.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4Tree.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4Tree.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4visXXX.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4visXXX.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4GMocren.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4GMocren.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4gl2ps.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4gl2ps.so] &#38169;&#35823; 1
Creating shared library /home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4OpenGL.so ...
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[2]: *** [/home/xinghuo/geant4/geant4.9.3/lib/Linux-g++/libG4OpenGL.so] &#38169;&#35823; 1
make[1]: *** [granular] &#38169;&#35823; 2
make[1]: &#27809;&#26377;&#20160;&#20040;&#21487;&#20197;&#20570;&#30340;&#20026; `liblist'&#12290;
Libraries installation completed !

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: /usr/bin/ld: cannot find -lXpm   (Ben Morgan - 05 Jan, 2010)
1 None: Re: /usr/bin/ld: cannot find -lXpm   (sxhuxinhui@163.com - 05 Jan, 2010)
(_ None: Re: /usr/bin/ld: cannot find -lXpm   (Geng Chao - 06 Apr, 2011)
2 Question: Re: /usr/bin/ld: cannot find -lXpm   (Steven Walton - 15 Oct, 2013)
1 None: Re: /usr/bin/ld: cannot find -lXpm   (Joseph Perl - 17 Nov, 2013)
 Add Message Add Message
to: "/usr/bin/ld: cannot find -lXpm"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]