<HTML dir=ltr><HEAD><TITLE>Re: [Rivet] AGILe</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText68936>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hi Eike,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>I tried this but still get the same error...</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>[pcalicebhm09] /home/snavin/my_work/rivet_test > export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib:$LD_LIBRARY_PATH<BR>[pcalicebhm09] /home/snavin/my_work/rivet_test > agile-runmc --list-gens<BR>Traceback (most recent call last):<BR> File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in <module><BR> import AGILe<BR> File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in <module><BR> _AGILe = swig_import_helper()<BR> File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper<BR> _mod = imp.load_module('_AGILe', fp, pathname, description)<BR>ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR></FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Notice that I included /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib as /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib was not an option.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>[pcalicebhm09] /home/snavin/my_work/rivet_test > echo $LD_LIBRARY_PATH<BR>/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/home/snavin/my_work/rivet_test/local/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/afs/cern.ch/sw/lcg/external/HepMC/2.05.00/x86_64-slc5-gcc43-opt/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib<BR></DIV></FONT>
<DIV dir=ltr><FONT size=2 face=Arial>Sparsh</DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Eike von Seggern [mailto:jan.eike.von.seggern@physik.hu-berlin.de]<BR><B>Sent:</B> Wed 5/19/2010 2:59 PM<BR><B>To:</B> Sparsh Navin<BR><B>Cc:</B> Hendrik Hoeth; Rivet<BR><B>Subject:</B> Re: [Rivet] AGILe<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>what's the contents of $LD_LIBRARY_PATH ? Since you've compiled with a<BR>"non-system" compiler you have to set this environment variable to<BR>contain the appropriate version of the system libraries (libstdc++.so in<BR>this case). Usually there is a "setup.sh" script in the directory of the<BR>compiler version that does this for you.<BR><BR>You can also try to do<BR><BR>export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib:$LD_LIBRARY_PATH<BR><BR>Hope this helps,<BR><BR> eike<BR><BR><BR>On Wed, May 19, 2010 at 14:32 +0200, Sparsh Navin wrote:<BR>> Hi,<BR>> <BR>> I try to list the generators to use...<BR>> <BR>> [pcalicebhm09] /home/snavin/my_work/rivet_test > agile-runmc --list-gens<BR>> Traceback (most recent call last):<BR>> File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in <module><BR>> import AGILe<BR>> File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in <module><BR>> _AGILe = swig_import_helper()<BR>> File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper<BR>> _mod = imp.load_module('_AGILe', fp, pathname, description)<BR>> ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR>> portError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR>><BR>> My paths are set as follows<BR>> <BR>> [pcalicebhm09] /home/snavin/my_work/rivet_test > echo $PATH<BR>> /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/bin:/home/snavin/my_work/rivet_test/local/bin:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2p1/x86_64-slc5-gcc34-opt/bin:/afs/cern.ch/user/s/snavin/bin:/afs/cern.ch/user/s/snavin/scripts:/usr/sue/bin:/usr/local/bin/:/usr/local/bin/X11:/usr/bin:/bin:/cern/pro/bin:/usr/kerberos/bin<BR>><BR>> [pcalicebhm09] /home/snavin/my_work/rivet_test > echo $PYTHONPATH<BR>> /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages:/afs/cern.ch/alice/library/afs_volumes/vol12/root/lib:<BR>> [pcalicebhm09] /home/snavin/my_work/rivet_test ><BR>><BR>> Sparsh<BR>> <BR>> <BR>><BR>> ________________________________<BR>><BR>> From: Sparsh Navin<BR>> Sent: Wed 5/19/2010 12:44 PM<BR>> To: Hendrik Hoeth<BR>> Cc: Rivet<BR>> Subject: RE: [Rivet] AGILe<BR>><BR>><BR>> Hi Hendrik,<BR>> <BR>> I removed the alice parts of my PATH and then retried to install agile. It worked and ended with a message saying "All done. Now set some variables in your shell."<BR>> <BR>> I set these variables.<BR>> <BR>> What next?<BR>> <BR>> Sparsh<BR>> <BR>><BR>> ________________________________<BR>><BR>> From: Hendrik Hoeth [<A href="mailto:hendrik.hoeth@cern.ch">mailto:hendrik.hoeth@cern.ch</A>]<BR>> Sent: Wed 5/19/2010 11:58 AM<BR>> To: Sparsh Navin<BR>> Cc: Rivet<BR>> Subject: Re: [Rivet] AGILe<BR>><BR>><BR>><BR>> Hi,<BR>><BR>> Thus spake Sparsh Navin (Sparsh.Navin@cern.ch):<BR>><BR>> > I am struggling to get AGILe locally. Below is what I get...<BR>> ><BR>> > [pcalicebhm09] /home/snavin/my_work/rivet_test > . /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh<BR>> > [pcalicebhm09] /home/snavin/my_work/rivet_test > export PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH<BR>> > [pcalicebhm09] /home/snavin/my_work/rivet_test > ./rivet-bootstrap --no-install-rivet --install-agile --dev-mode on --force on<BR>> > Checking for developer mode programs<BR>> > Updating AGILe SVN working copy<BR>> > Bootstrapping autoconf files<BR>> > libtoolize: `/afs/cern.ch/alice/library/local/share/aclocal/libtool.m4' is serial 47, less than 48 in `aclocal.m4'<BR>> > Use `--force' to replace newer libtool files with this version.<BR>> > autoreconf: libtoolize failed with exit status: 1<BR>><BR>> Welcome to Alice. Looking at your PATH you probably pick up<BR>> /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin/libtoolize.<BR>> Try removing /afs/cern.ch/alice/library/afs_volumes/vol12/bin and<BR>> /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin from your PATH.<BR>><BR>> You also seem to mix gcc-3.4 with gcc-4.3. Depending on what exactly you<BR>> do this might or might not work. But let's sort out the libtoolize issue<BR>> first.<BR>><BR>> Cheers,<BR>><BR>> Hendrik<BR>><BR>> --<BR>> Don't knock the weather. If it didn't change once in a while, nine<BR>> out of ten people couldn't start a conversation. -- Kin Hubbard<BR>><BR>><BR><BR>> _______________________________________________<BR>> Rivet mailing list<BR>> Rivet@projects.hepforge.org<BR>> <A href="http://www.hepforge.org/lists/listinfo/rivet">http://www.hepforge.org/lists/listinfo/rivet</A><BR><BR></FONT></P></DIV></BODY></HTML>