Re: [ROOT] Problems with linking TPythia6

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Oct 15 2001 - 13:15:42 MEST


Hi Aleksej, 

I'd like to point out, that in addition to the Pythia libraries
provided by the ROOT team, I've made a couple of RPMs for Red Hat 6.2
on i386 (they work on Red Hat 7.1 as well) and DEBs for Debian
GNU/Linux 2.2 on i386.  You can pick them up  at 

  http://cholm.home.cern.ch/cholm 

There, you'll also find RPMs of ROOT 3.02/00 by the way. 

Hope you find that useful. 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm

On Mon, 15 Oct 2001 10:13:05 +0200
Fons Rademakers <Fons.Rademakers@cern.ch> wrote
concerning "Re: [ROOT] Problems with linking TPythia6":
> You seem to have an incompatible libPythia6.so. Get the pythia6.tar.gz
> file from ftp://root.cern.ch/root/pythia6.tar.gz.
> 
> Cheers, Fons.
> 
> 
> 
> Aleksej Abyzov wrote:
> > 
> >         Hi to everybody!
> >     I tried to use TPythia6 class in my program and get the following messeg
> > during compilation
> > ---------------------------------------------------------------------------------------------------------------------------
> > 
> > /afs/desy.de/user/a/abyzov/public/ROOT_v3.00.06/lib/libEGPythia6.so: undefined
> > reference to `pythia6_common_block_address_'
> > /afs/desy.de/user/a/abyzov/public/ROOT_v3.00.06/lib/libEGPythia6.so: undefined
> > reference to `tpythia6_close_fortran_file_'
> > /afs/desy.de/user/a/abyzov/public/ROOT_v3.00.06/lib/libEGPythia6.so: undefined
> > reference to `tpythia6_open_fortran_file_'
> > collect2: ld returned 1 exit status
> > --------------------------------------------------------------------------------------------------------------------------
> > 
> >     I haven't found the functions neither in ROOT nor in PYTIA library. Is
> > anybody have an idee what is wrong?
> > 
> > --
> >     With best regards
> >     Mit freundlichen Gruessen
> > 
> >                                                  Alex Abyzov
> > -----------------------------------------------------------------------
> > -     Deutsches Elektronen Synchrotron (DESY), Hamburg, Germany       -
> > -                 collaboration HERA-B                                -
> > -                 office HERA-B bld. 61/110                           -
> > -                 office phone +49 40 8998-2844                       -
> > -----------------------------------------------------------------------
> > 
> > 
> 
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480

On Mon, 15 Oct 2001 08:13:27 +0000
Rene Brun <Rene.Brun@cern.ch> wrote
concerning "Re: [ROOT] Problems with linking TPythia6":
> Hi Aleksej,
> 
> The libPythia.so in $ROOTSYS/lib is onlib a wrapper to call the real Pythia
> that you must link.
> 
> DO:
>    gSystem->Load("$PYTHIA/libPythia");  //to load the Pythia lib
>    gSystem->Load("$ROOTSYS/libPythia"); //to load the wrapper
> 
> You can download the Pythia (5  or/and 6) libs from the ROOT web site
> if you like
>    ftp://root.cern.ch/root/pythia/pythia6.Linux.tar.gz
> 
> or any other combination from:
> pythia5.Aix.tar.gz      pythia5.Linux.tar.gz    pythia6.Alpha.tar.gz   
> pythia6.Solaris.tar.gz
> pythia5.Alpha.tar.gz    pythia5.Solaris.tar.gz  pythia6.HP.tar.gz      
> pythia5.HP.tar.gz       pythia5.tar.gz          pythia6.Irix.tar.gz
> pythia5.Irix.tar.gz     pythia6.Aix.tar.gz      pythia6.Linux.tar.gz
> 
> 
> Rene Brun
> 
> Aleksej Abyzov wrote:
> > 
> >    Part 1.1       Type: Plain Text (text/plain)
> >               Encoding: 7bit



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET