Hi,
that's a different error. You forgot to set LD_LIBRARY_PATH to point to libpythia8.so
Cheers, Axel.
Wajid Ali Khan wrote on 01/12/2011 05:27 PM:
> Hi Naumann, > > I have followed your email but I am still ending up with the following > problem. I did it in the following way will sitting in the pythia8145/ > directory. Rest of the errors are no longer there except this one. > > ========= > error while loading shared libraries: libpythia8.so: cannot open shared > object file: No such file or directory > ========= > [root_at_Wajid pythia8145]# patch -p1 < Pythia8145_namespace_func_decl.diff > (Stripping trailing CRs from patch.) > patching file include//Analysis.h > (Stripping trailing CRs from patch.) > patching file include//Basics.h > > [root_at_Wajid pythia8145]# make -j4 > Making dependency for file src/UserHooks.cc > Making dependency for file src/TimeShower.cc > Making dependency for file src/SusyResonanceWidths.cc > Making dependency for file src/SusyCouplings.cc > Making dependency for file src/StandardModel.cc > Making dependency for file src/SpaceShower.cc > Making dependency for file src/SigmaTotal.cc > Making dependency for file src/StringFragmentation.cc > Making dependency for file src/SigmaSUSY.cc > Making dependency for file src/SigmaQCD.cc > Making dependency for file src/SigmaProcess.cc > > . > . > . > . > . > ========= > [root_at_Wajid rootexample]# ./goex1 > [root_at_Wajid rootexample]# ls > ex1 ex1.C goex1 pythiaDict.cxx pythiaDict.h pythiaLinkdef.h > pythiaROOT.h README > [root_at_Wajid rootexample]# ./ex1 > ./ex1: error while loading shared libraries: libpythia8.so: cannot open > shared object file: No such file or directory > > Regards > WA > > > > ________________________________________ > From: Axel Naumann > Sent: 12 January 2011 09:21 > To: Wajid Ali Khan > Cc: roottalk_at_root.cern.ch; torbjorn_at_thep.lu.se > Subject: Re: [ROOT] Using ROOT for Histogramms in Pythia8 > > Hi Wajid, > > take the attached file and run > > cd wherever-you-pythia8-sources-are > patch -p1 < Pythia8145_namespace_func_decl.diff > make -j4 > > That will fix it. > > Cheers, Axel. > > > Wajid Ali Khan wrote on 01/12/2011 05:36 AM:
>>
>>
>>
>>
>> >>
>>> >>> Hi Rooters, >>> >>> I am trying to use ROOT for histogramming inside pythia. I have Root
>>> ============ >>> Linux Wajid 2.6.18-194.26.1.el5 #1 SMP Wed Nov 10 09:51:11 CET 2010
>>> ============ >>> >>> config.mk in pytha8315/ is >>> ============ >>> SHELL = /bin/sh >>> ARCH = Linux-gcc4 >>> MYLCGPLATFORM = slc4_ia32_gcc34 >>> SHAREDLIBS = yes >>> FC = gfortran >>> CC = gcc >>> FFLAGS = -O2 -fbounds-check >>> CFLAGS = -O2 -fbounds-check >>> CXXFLAGS = -O2 -ansi -pedantic -W -Wall -Wshadow -fbounds-check >>> FLIBS = -lgfortran -lgfortranbegin >>> LDFLAGSSHARED = -O2 -ansi -pedantic -W -Wall -Wshadow -fbounds-check
>>> LDFLAGLIBNAME = -Wl,-soname >>> SHAREDSUFFIX = so >>> HEPMCVERSION = 2.06.03 >>> HEPMCLOCATION = /root/hepmc/install >>> ============ >>> Both of these are working perfectly fine indeepently. I have also
>>> >>> Thank for your anticipation. >>> Regards >>> Wajid Ali >>> >>> ./goex1 >& error.log >>> ============================== >>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_14(G__value*,
>>> pythiaDict.cxx:5587: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Event.h:288: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_15(G__value*,
>>> pythiaDict.cxx:5593: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Event.h:289: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_16(G__value*,
>>> pythiaDict.cxx:5599: error: ‘dot3’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_17(G__value*,
>>> pythiaDict.cxx:5607: error: ‘cross3’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_18(G__value*,
>>> pythiaDict.cxx:5618: error: ‘theta’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_19(G__value*,
>>> pythiaDict.cxx:5624: error: ‘costheta’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_20(G__value*,
>>> pythiaDict.cxx:5630: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_21(G__value*,
>>> pythiaDict.cxx:5636: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_22(G__value*,
>>> pythiaDict.cxx:5643: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_23(G__value*,
>>> pythiaDict.cxx:5650: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_24(G__value*,
>>> pythiaDict.cxx:5657: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_25(G__value*,
>>> pythiaDict.cxx:5667: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_26(G__value*,
>>> pythiaDict.cxx:5677: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_27(G__value*,
>>> pythiaDict.cxx:5689: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_27(G__value*,
>>> pythiaDict.cxx:5689: error: no matching function for call to
>>> pythiaDict.cxx:5693: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_28(G__value*,
>>> pythiaDict.cxx:5703: error: no matching function for call to
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_29(G__value*,
>>> pythiaDict.cxx:5712: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:230: error: in passing argument 2 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_30(G__value*,
>>> pythiaDict.cxx:5725: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:230: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_31(G__value*,
>>> pythiaDict.cxx:5738: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:230: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_32(G__value*,
>>> pythiaDict.cxx:5751: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:233: error: in passing argument 2 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_33(G__value*,
>>> pythiaDict.cxx:5764: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:233: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_34(G__value*,
>>> pythiaDict.cxx:5777: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:233: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_35(G__value*,
>>> /root/pythia8145/include/Basics.h:233: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_35(G__value*,
>>> pythiaDict.cxx:5790: error: no matching function for call to
>>> /root/pythia8145/include/Basics.h:245: note: candidates are: double
>>> /root/pythia8145/include/Basics.h:239: note:
>>> /root/pythia8145/include/Basics.h:236: note:
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_36(G__value*,
>>> pythiaDict.cxx:5803: error: no matching function for call to
>>> /root/pythia8145/include/Basics.h:245: note: candidates are: double
>>> /root/pythia8145/include/Basics.h:239: note:
>>> /root/pythia8145/include/Basics.h:236: note:
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_37(G__value*,
>>> pythiaDict.cxx:5816: error: no matching function for call to
>>> /root/pythia8145/include/Basics.h:245: note: candidates are: double
>>> /root/pythia8145/include/Basics.h:239: note:
>>> /root/pythia8145/include/Basics.h:236: note:
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_38(G__value*,
>>> pythiaDict.cxx:5829: error: cannot convert ‘Pythia8::Hist’ to ‘double’
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_39(G__value*,
>>> pythiaDict.cxx:5842: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:242: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_40(G__value*,
>>> pythiaDict.cxx:5855: error: invalid initialization of reference of type
>>> /root/pythia8145/include/Basics.h:242: error: in passing argument 1 of
>>> pythiaDict.cxx: In function ‘int G__pythiaDict_406_0_43(G__value*,
>>> pythiaDict.cxx:5878: error: ‘dist2Fun’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx: In function ‘void G__setup_memfuncPythia8()’: >>> pythiaDict.cxx:17543: error: address of overloaded function with no
>>> pythiaDict.cxx:17545: error: address of overloaded function with no
>>> pythiaDict.cxx:17543: error: address of overloaded function with no
>>> pythiaDict.cxx:17545: error: address of overloaded function with no
>>> pythiaDict.cxx:17547: error: ‘dot3’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx:17549: error: ‘cross3’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx:17551: error: ‘theta’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx:17553: error: ‘costheta’ is not a member of ‘Pythia8’ >>> pythiaDict.cxx:17555: error: address of overloaded function with no
>>> pythiaDict.cxx:17557: error: address of overloaded function with no
>>> pythiaDict.cxx:17560: error: address of overloaded function with no
>>> pythiaDict.cxx:17563: error: address of overloaded function with no
>>> pythiaDict.cxx:17565: error: address of overloaded function with no
>>> pythiaDict.cxx:17567: error: address of overloaded function with no
>>> pythiaDict.cxx:17569: error: address of overloaded function with no
>>> pythiaDict.cxx:17572: error: address of overloaded function with no
>>> pythiaDict.cxx:17575: error: address of overloaded function with no
>>> pythiaDict.cxx:17577: error: address of overloaded function with no
>>> pythiaDict.cxx:17579: error: address of overloaded function with no
>>> pythiaDict.cxx:17581: error: address of overloaded function with no
>>> pythiaDict.cxx:17583: error: address of overloaded function with no
>>> pythiaDict.cxx:17585: error: address of overloaded function with no
>>> pythiaDict.cxx:17587: error: address of overloaded function with no
>>> pythiaDict.cxx:17589: error: address of overloaded function with no
>>> pythiaDict.cxx:17591: error: address of overloaded function with no
>>> pythiaDict.cxx:17593: error: address of overloaded function with no
>>> pythiaDict.cxx:17595: error: address of overloaded function with no
>>> pythiaDict.cxx:17597: error: address of overloaded function with no
>>> pythiaDict.cxx:17599: error: address of overloaded function with no
>>> pythiaDict.cxx:17606: error: ‘dist2Fun’ is not a member of ‘Pythia8’ >>> ============================== >>> >>> >> >Received on Wed Jan 12 2011 - 17:29:31 CET
This archive was generated by hypermail 2.2.0 : Thu Jan 13 2011 - 05:50:01 CET