sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Last modified 11 years ago

#135 closed defect

Installation problem — at Version 2

Reported by: Generic User (don't modify these fields) Owned by: support@sherpa-mc.de
Priority: critical Milestone:
Component: Unknown Version: 1.2.3
Keywords: installation Cc: jan.strube@stfc.ac.uk

Description (last modified by Frank Siegert)

I am downloading the tarball and the patches from the front page. Then ./configure --enable-analysis --enable-root --enable-multithread --prefix=Whatever make

make[3]: Entering directory `/home/jstrube/Downloads/SHERPA-MC-1.2.3/SHERPA/Run'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../ATOOLS/Org  -I../.. -I/home/jstrube/local/ROOT_v5.28.00/include  -g -O2 -pedantic -Wall -Wno-long-long  -MT Sherpa-Main.o -MD -MP -MF .deps/Sherpa-Main.Tpo -c -o Sherpa-Main.o `test -f 'Main.C' || echo './'`Main.C
mv -f .deps/Sherpa-Main.Tpo .deps/Sherpa-Main.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -g -O2 -pedantic -Wall -Wno-long-long  -rdynamic  -o Sherpa Sherpa-Main.o -L../../SHERPA/Main -lSherpaMain -L/home/jstrube/local/ROOT_v5.28.00/lib -L/home/jstrube/local/ROOT_v5.28.00/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lGui -pthread -lm -ldl -rdynamic   
libtool: link: g++ -g -O2 -pedantic -Wall -Wno-long-long -rdynamic -o .libs/Sherpa Sherpa-Main.o -pthread -rdynamic  -L/home/jstrube/Downloads/SHERPA-MC-1.2.3/SHERPA/Main /home/jstrube/Downloads/SHERPA-MC-1.2.3/SHERPA/Main/.libs/libSherpaMain.so -L/home/jstrube/local/ROOT_v5.28.00/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lGui -lm -ldl -pthread -Wl,-rpath -Wl,/home/jstrube/local/lib/SHERPA-MC
/usr/bin/ld: Sherpa-Main.o: undefined reference to symbol 'ATOOLS::Message::Out() const'
/usr/bin/ld: note: 'ATOOLS::Message::Out() const' is defined in DSO /home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0 so try adding it to the linker command line
/home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [Sherpa] Error 1
make[3]: Leaving directory `/home/jstrube/Downloads/SHERPA-MC-1.2.3/SHERPA/Run'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jstrube/Downloads/SHERPA-MC-1.2.3/SHERPA'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jstrube/Downloads/SHERPA-MC-1.2.3'
make: *** [all] Error 2

I am fixing this by running the libtool command by hand, adding the requested lib(s). This allows make to complete, but maybe this wasn't a good idea.

/home/jstrube/Downloads/SHERPA-MC-1.2.3/Examples/LEP91> ~/local/bin/Sherpa Run.dat
*** buffer overflow detected ***: /home/jstrube/local/bin/Sherpa terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7fe0331fd537]
/lib/libc.so.6(+0xfe3f0)[0x7fe0331fc3f0]
/home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0(_ZN6ATOOLS6Random7SetSeedEii+0x34)[0x7fe034114674]
/home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0(_ZN6ATOOLS6RandomC1Eii+0x26)[0x7fe034116636]
/home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0(+0x57ba7)[0x7fe034117ba7]
/home/jstrube/local/lib/SHERPA-MC/libToolsMath.so.0(+0x93426)[0x7fe034153426]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:03 5236707                            /home/jstrube/local/bin/Sherpa
00605000-00606000 r--p 00005000 08:03 5236707                            /home/jstrube/local/bin/Sherpa
00606000-00607000 rw-p 00006000 08:03 5236707                            /home/jstrube/local/bin/Sherpa
0213c000-0215d000 rw-p 00000000 00:00 0                                  [heap]
7fe029e7a000-7fe029efb000 r-xp 00000000 08:02 923922                     /usr/lib/libfreetype.so.6.6.0
7fe029efb000-7fe02a0fb000 ---p 00081000 08:02 923922                     /usr/lib/libfreetype.so.6.6.0
7fe02a0fb000-7fe02a100000 r--p 00081000 08:02 923922                     /usr/lib/libfreetype.so.6.6.0
7fe02a100000-7fe02a101000 rw-p 00086000 08:02 923922                     /usr/lib/libfreetype.so.6.6.0
7fe02a101000-7fe02a10a000 r-xp 00000000 08:02 555776                     /lib/libcrypt-2.12.1.so
7fe02a10a000-7fe02a30a000 ---p 00009000 08:02 555776                     /lib/libcrypt-2.12.1.so
7fe02a30a000-7fe02a30b000 r--p 00009000 08:02 555776                     /lib/libcrypt-2.12.1.so
7fe02a30b000-7fe02a30c000 rw-p 0000a000 08:02 555776                     /lib/libcrypt-2.12.1.so
7fe02a30c000-7fe02a33a000 rw-p 00000000 00:00 0 
7fe02a33a000-7fe02a37a000 r-xp 00000000 08:02 525569                     /lib/libncurses.so.5.7
7fe02a37a000-7fe02a579000 ---p 00040000 08:02 525569                     /lib/libncurses.so.5.7
7fe02a579000-7fe02a57d000 r--p 0003f000 08:02 525569                     /lib/libncurses.so.5.7
7fe02a57d000-7fe02a57e000 rw-p 00043000 08:02 525569                     /lib/libncurses.so.5.7
7fe02a57e000-7fe02a594000 r-xp 00000000 08:02 525667                     /lib/libz.so.1.2.3.4
7fe02a594000-7fe02a794000 ---p 00016000 08:02 525667                     /lib/libz.so.1.2.3.4
7fe02a794000-7fe02a795000 r--p 00016000 08:02 525667                     /lib/libz.so.1.2.3.4
7fe02a795000-7fe02a796000 rw-p 00017000 08:02 525667                     /lib/libz.so.1.2.3.4
7fe02a796000-7fe02a877000 r-xp 00000000 08:02 929739                     /usr/lib/libgfortran.so.3.0.0
7fe02a877000-7fe02aa77000 ---p 000e1000 08:02 929739                     /usr/lib/libgfortran.so.3.0.0
7fe02aa77000-7fe02aa78000 r--p 000e1000 08:02 929739                     /usr/lib/libgfortran.so.3.0.0
7fe02aa78000-7fe02aa79000 rw-p 000e2000 08:02 929739                     /usr/lib/libgfortran.so.3.0.0
7fe02aa79000-7fe02aa7a000 rw-p 00000000 00:00 0 
7fe02aa7a000-7fe02aaa1000 r-xp 00000000 08:03 7650031                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSNLO.so.0.0.0
7fe02aaa1000-7fe02aca1000 ---p 00027000 08:03 7650031                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSNLO.so.0.0.0
7fe02aca1000-7fe02aca2000 r--p 00027000 08:03 7650031                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSNLO.so.0.0.0
7fe02aca2000-7fe02aca3000 rw-p 00028000 08:03 7650031                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSNLO.so.0.0.0
7fe02aca3000-7fe02aca6000 r-xp 00000000 08:03 7650027                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSCluster.so.0.0.0
7fe02aca6000-7fe02aea5000 ---p 00003000 08:03 7650027                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSCluster.so.0.0.0
7fe02aea5000-7fe02aea6000 r--p 00002000 08:03 7650027                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSCluster.so.0.0.0
7fe02aea6000-7fe02aea7000 rw-p 00003000 08:03 7650027                    /home/jstrube/local/lib/SHERPA-MC/libExtraXSCluster.so.0.0.0
7fe02aea7000-7fe02aeda000 r-xp 00000000 08:03 7650023                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS2_2.so.0.0.0
7fe02aeda000-7fe02b0da000 ---p 00033000 08:03 7650023                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS2_2.so.0.0.0
7fe02b0da000-7fe02b0dc000 r--p 00033000 08:03 7650023                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS2_2.so.0.0.0
7fe02b0dc000-7fe02b0dd000 rw-p 00035000 08:03 7650023                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS2_2.so.0.0.0
7fe02b0dd000-7fe02b0ed000 r-xp 00000000 08:03 7650019                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS.so.0.0.0
7fe02b0ed000-7fe02b2ed000 ---p 00010000 08:03 7650019                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS.so.0.0.0
7fe02b2ed000-7fe02b2ee000 r--p 00010000 08:03 7650019                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS.so.0.0.0
7fe02b2ee000-7fe02b2ef000 rw-p 00011000 08:03 7650019                    /home/jstrube/local/lib/SHERPA-MC/libExtraXS.so.0.0.0
7fe02b2ef000-7fe02b32a000 r-xp 00000000 08:03 7329829                    /home/jstrube/local/lib/SHERPA-MC/libPhotonsMEs.so.0.0.0
7fe02b32a000-7fe02b529000 ---p 0003b000 08:03 7329829                    /home/jstrube/local/lib/SHERPA-MC/libPhotonsMEs.so.0.0.0
7fe02b529000-7fe02b52b000 r--p 0003a000 08:03 7329829                    /home/jstrube/local/lib/SHERPA-MC/libPhotonsMEs.so.0.0.0
7fe02b52b000-7fe02b52c000 rw-p 0003c000 08:03 7329829                    /home/jstrube/local/lib/SHERPA-MC/libPhotonsMEs.so.0.0.0zsh: abort      ~/local/bin/Sherpa Run.dat

Change History (3)

Changed 13 years ago by Generic User (don't modify these fields)

Attachment: config.log added

config log, system description

comment:1 Changed 13 years ago by Generic User (don't modify these fields)

The same installation problem occurs also without --multithread Fix: cd SHERPA/Run <copy and paste the command that failed>, adding -lToolsMath -lToolsOrg cd - make make install

Unfortunately, this also leads to the same seg fault, so it's not due to multithread.

comment:2 Changed 13 years ago by Frank Siegert

Description: modified (diff)
Milestone: rel-1.3.0

Hi Jan,

On which OS is this? I have not tested the --enable-root switch in a while (what are you using that for by the way?), so maybe you could also try without that and see whether that's what's causing the issue?

Cheers, Frank

Note: See TracTickets for help on using tickets.