ROOT Version: 5.34.38
Platform: SL
Compiler: gcc
trying to build ROOT with:
./configure linuxx8664gcc --enable-pythia8 --with-pythia8-incdir=$PYTHIA8/include --with-pythia8-libdir=$PYTHIA8/lib
make
make install
I encounter the following error:
/home/jack/sw/MG5_aMC_v2_6_6/HEPTools/pythia8/lib/libpythia8.a(PartonDistributions.o): In function Pythia8::LHAPDF::LHAPDF(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Pythia8::Info*)': PartonDistributions.cc:(.text+0xfa85): undefined reference to
dlopen’
PartonDistributions.cc:(.text+0xfa9b): undefined reference to dlerror' PartonDistributions.cc:(.text+0xfc42): undefined reference to
dlerror’
/home/jack/sw/MG5_aMC_v2_6_6/HEPTools/pythia8/lib/libpythia8.a(PartonDistributions.o): In function Pythia8::LHAPDF::~LHAPDF()': PartonDistributions.cc:(.text+0x10104): undefined reference to
dlclose’
PartonDistributions.cc:(.text+0x10109): undefined reference to dlerror' /home/jack/sw/MG5_aMC_v2_6_6/HEPTools/pythia8/lib/libpythia8.a(PartonDistributions.o): In function
Pythia8::LHAPDF::symbol(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)’:
PartonDistributions.cc:(.text+0x10207): undefined reference to dlsym' PartonDistributions.cc:(.text+0x10210): undefined reference to
dlerror’
PartonDistributions.cc:(.text+0x1029f): undefined reference to `dlerror’
collect2: error: ld returned 1 exit status
make: *** [lib/libEGPythia8.so] Error 1
any help is highly appreciated.