I'm compiling a code in Pythia
, version 8.240 on Linux (
Ubuntu 18.04`).
Command im using is:
$ make Analysistau1
the Makefile uses the following shell command:
g++ -g -I$(pythiainc) -I$(tauolainc) Analysistau1.cc -o $@.exe \
-L$(tauolalib) -L$(pythialib) -L$(hepmclib)
-L$(lhapdflib) `root-config --cflags --glibs `fastjet-config \
--cxxflags --plugins` `fastjet-config --libs --plugins` -lpythia8 \
-lLHAPDF -lHepMC -lTauolaCxxInterface -lTauolaFortran
The expected output is an exe file of named analysistau1
ready to use. but the following exception is raised:
/usr/bin/ld: /home/wajahat/Products/Analysis/pythia8240/lib/libpythia8.a(PartonDistributions.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
makefile:27: recipe for target 'Analysistau1' failed
make: *** [Analysistau1] Error 1