libEGPythia6.so: undefined symbol: pytune_

It seems you did not do gSystem->Load(“libPythia6”), which provides “pytune_” (check where your “libPythia6.so” is located and see the “loadLibraries” function in the “pythiaExample.C”).
See also this thread: [url]Select a PDFset for pythia6 inside Root