Thank you very much, ferhue!
Now everything is working as it should, there’s no segmentation error and the usual examples on the tutorials directory are working. What I did was to install the libpng16 library, I moved the libpng16.so.16 file to /usr/lib/libpng16.so.16 as you mentioned and built everything with cmake as you suggested.
The remaining issue is that I still can’t run the tutorials/pythia/pythia8.C example or compile the main92 Pythia8 example.
Here’s what I did, following what someone else did for Pythia6 in the past Enabling pythia6 in cmake build
cmake PYTHIA8_LIBRARY=/home/cristian/workspace/pythia8219/lib -Dpythia8=ON
make -j4
. bin/thisroot.sh
As a note, when I installed PYTHIA8, I did ./configure --enable-share
And when I do
root-config --has-pythia8
no
Which means I’m doing something wrong when linking with Pythia8.
Thank you very much for your time and help,
Cristian