[gate-users] usr_bin_ld error

Sweta sweta_indbhavan at yahoo.co.in
Thu Oct 20 13:01:25 CEST 2005


I get the following errors with gatev2.2.0. I sourced geant4 and gate env.csh and env_gate.csh files from shell script.
 

when trying to make gate executable 

[sparker at GEANT4-2005 ~/gate_v2.2.0]$ make

Using granular libraries ...

Linking Gate ...

/usr/bin/ld: cannot find -lCore

collect2: ld returned 1 exit status

make: *** [/home/sparker/bin/Linux-g++/Gate] Error 1

----------

testing STIR library

[sparker at GEANT4-2005 ~/STIR]$ make run_tests

g++ -O3 -ffast-math -DNDEBUG -Wall -Wno-deprecated -I.

est/test_Array.o -MMD -MP -c test/test_Array.cxx

g++ -oopt/test/test_Array opt/test/test_Array.o opt/bu

ck/recon_buildblock_registries.o opt/IO/IO_registrie

istries.o opt/libstir.a -lm -lncurses

opt/test/test_Array

opt/test/test_Array: error while loading shared libraries:

ch file or directory

make: *** [run_test/test_Array] Error 127

rm opt/test/test_Array

-----------------

with ecat library

[sparker at GEANT4-2005 ~/ecat]$ make depend

makedepend -Dunix -O -I. ./*.c ./lib_compress/*.c

makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encount

ered at line 7

makedepend: warning: cannot open "./lib_compress/*.c"

 

Also from Utilities directory within ecat directory

[sparker at GEANT4-2005 ~/ecat/utils]$ make

cc -O -I.. -o matlist ./matlist.c ../libecat.a -lrpcsvc -lnsl -lsocket -lm

/usr/bin/ld: cannot find -lsocket

collect2: ld returned 1 exit status

make: *** [matlist] Error 1

 

--------------

when installing ROOT exe

[sparker at GEANT4-2005 ~/root]$ make install

Generating dictionary base/src/G__Base1.cxx...

utils/src/rootcint_tmp -f base/src/G__Base1.cxx -c base/inc/TApplication.h base/inc/TApplicationImp.h base/inc/TAtt3D.h base/inc/TAttAxis.h base/inc/TAttFill.h base/inc/TAttLine.h base/inc/TAttMarker.h base/inc/TAttPad.h base/inc/TAttText.h base/inc/TBenchmark.h base/inc/TBrowser.h base/inc/TBrowserImp.h base/inc/TBuffer3D.h base/inc/TBuffer3DTypes.h base/inc/TBuffer.h base/inc/TCanvasImp.h base/inc/TColor.h base/inc/TComplex.h base/inc/TContextMenu.h base/inc/TContextMenuImp.h base/inc/TControlBarImp.h base/inc/TDatime.h base/inc/TDirectory.h base/inc/TEnv.h base/inc/TError.h base/inc/TException.h base/inc/TExec.h base/inc/TFile.h base/inc/TFolder.h base/inc/TFree.h base/inc/TGuiFactory.h base/inc/TInspectorImp.h base/inc/TKey.h base/inc/TKeyMapFile.h base/inc/TMapFile.h base/inc/TMath.h base/inc/TMD5.h base/inc/TMemberInspector.h base/inc/TMessageHandler.h base/inc/TNamed.h base/inc/TObject.h base/inc/TObjString.h base/inc/TPadView3D.h base/inc/TPluginManager.h base/inc/TPoint.h
 base/inc/TProcessID.h base/inc/TProcessUUID.h base/inc/TQCommand.h base/inc/TQConnection.h base/inc/TQObject.h base/inc/TRandom2.h base/inc/TRandom3.h base/inc/TRandom.h base/inc/TRealData.h base/inc/TRefCnt.h base/inc/TRef.h base/inc/TRegexp.h base/inc/TROOT.h base/inc/TStopwatch.h base/inc/TStorage.h base/inc/TString.h base/inc/TStringLong.h base/inc/TStyle.h base/inc/TSysEvtHandler.h base/inc/TSystemDirectory.h base/inc/TSystemFile.h base/inc/TSystem.h base/inc/TTask.h base/inc/TTime.h base/inc/TTimer.h base/inc/TUUID.h base/inc/TView.h base/inc/TVirtualFitter.h base/inc/TVirtualGL.h base/inc/TVirtualPadEditor.h base/inc/TVirtualPad.h base/inc/TVirtualPS.h base/inc/TVirtualUtil3D.h base/inc/TVirtualUtilHist.h base/inc/TVirtualUtilPad.h base/inc/TVirtualViewer3D.h base/inc/LinkDef1.h

utils/src/rootcint_tmp: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

make: *** [base/src/G__Base1.cxx] Error 127

-----------------------

 

I must admit that the previous time I installed, the gate files were corrupt and the env files assumed different names for G4WORKDIR. Hence I reinstalled geant4 and GATE again and now I check the variables everytime I login.

 

I have installed the following on my system

gcc3.4.4

make 3.80

geant4.7.0.p01

CLHEP 1.8.1.0

AIDA 3.2.1

MesaGL 6.3.2

STL

LMF 2[1].0

ROOT 4.03.04

STIR

ECAT

 

Thanks in advance.

 

Sweta 


		
---------------------------------
 Yahoo! India Matrimony: Find your partner now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20051020/c8fe56e8/attachment.htm>


More information about the Gate-users mailing list