INFO: Compiling MCatNLO for PYTHIA8...
/usr/bin/ld: 找不到 -lstdc++
collect2: 错误:ld 返回 1
make: *** [Pythia83] 错误 1
EPTools/lhapdf6_py3/include -I/root/MG5_aMC_v3_3_1/HEPTools/pythia8/include \
-I/root/MG5_aMC_v3_3_1/PRO/MCatNLO/include Pythia83.cc -o Pythia8.exe \
-L/root/MG5_aMC_v3_3_1/HEPTools/pythia8/lib -lpythia8 \
-I/root/MG5_aMC_v3_3_1/HEPTools/hepmc/include -L/root/MG5_aMC_v3_3_1/HEPTools/hepmc/lib -Wl,-rpath,/root/MG5_aMC_v3_3_1/HEPTools/hepmc/lib -lHepMC -L../lib -L/root/MG5_aMC_v3_3_1/HEPTools/pythia8//lib -Ll,-rpath,/root/MG5_aMC_v3_3_1/HEPTools/pythia8//lib -L/root/MG5_aMC_v3_3_1/HEPTools/zlib/lib -Ll,-rpath,/root/MG5_aMC_v3_3_1/HEPTools/zlib/lib -lpythia8 -lz -ldl -lstdc++ \
Pythia8 compilation did not succeed, exiting
Error detected in "launch auto "
write debug file /root/MG5_aMC_v3_3_1/PRO/run_05_tag_1_debug.log
If you need help with this issue, please, contact us on https://answers.launchpad.net/mg5amcnlo
str : Compilation failed, check /root/MG5_aMC_v3_3_1/PRO/mcatnlo.log for details
quit
INFO:
如果在MG5中出现找不到 -lstdc++的 错误,那就是系统没有装 -lstdc++,安装一下 -lstdc++就行了,在在系统终端输入
yum install glibc-static libstdc++-static -y
等待安装完就可以了(针对centos系统)