_ROOT Version: 6.14.08
_Platform: Ubuntu 18.04
_Compiler: gcc version 7.3.0
Dear Rooters,
I CMade root6 with Pythia8 enabled and get:
...
[ 94%] Linking CXX shared library ../../lib/libEGPythia8.so
/software/opt/bionic/x86_64/pythia8/8.235/lib/libpythia8.a(PartonDistributions.o):
In function `Pythia8::LHAPDF::symbol(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
PartonDistributions.cc:(.text+0xb718): undefined reference to `dlsym'
...
I could solve this by adding “ldl” by hand to the linker command in:
montecarlo/pythia8/CMakeFiles/EGPythia8.dir/link.txt
I made Pythia8 with shared lib enabled an the .so was there.
Did I miss something?
Cheers
Otto