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

None Help:"/usr/bin/ld: cannot find -lCLHEP" 

Forum: (Graphical) User Interfaces
Date: 19 Mar, 2005
From: zhang <windstep@sohu.com>

This is the first time i using the lib. There is a problem when i build the first example. Please help me:

[root@scu2 N01]# gmake Using granular libraries ... Linking exampleN01 ... /usr/bin/ld: cannot find -lCLHEP

collect2: ld returned 1 exit status
gmake: *** [/root/geant4/bin/Linux-g++/exampleN01] Error 1

I don't understand above message,for I have install the "clhep" lib and installed the geant4.

the env.csh file is:

# g4clhep.U
#
if ( X/usr/clhep != X ) then setenv CLHEP_BASE_DIR "/usr/clhep" echo "On this machine the CLHEP_BASE_DIR=$CLHEP_BASE_DIR" endif

#+ if ( X/usr/clhep/include != X ) then setenv CLHEP_INCLUDE_DIR "/usr/clhep/include" echo "On this machine the CLHEP_INCLUDE_DIR=$CLHEP_INCLUDE_DIR" endif

#+ if ( X/usr/clhep/lib != X ) then setenv CLHEP_LIB_DIR "/usr/clhep/lib" echo "On this machine the CLHEP_LIB_DIR=$CLHEP_LIB_DIR" endif

#+ if ( XCLHEP != X ) then

setenv CLHEP_LIB "CLHEP" echo "On this machine the CLHEP_LIB=$CLHEP_LIB" endif

thanks a log                                
                    

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

1 Feedback: Re: Help:"/usr/bin/ld: cannot find -lCLHEP"   (timtran@jlab.org - 09 May, 2005)
 Add Message Add Message
to: "Help:"/usr/bin/ld: cannot find -lCLHEP""

 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 ]