libPythia.so loading problem
Pasha Murat (murat@cdfsga.fnal.gov)
Mon, 22 Feb 1999 13:49:38 -0600 (CST)
valeri@na.infn.it writes:
> Hello rooters,
>
> I have problem on loading libPythia.so library into root (below).
> Pythia, atlfast and root were compiled without fatal problems on
> Linux Slacware gcc version 2.7.2.
...
> root [0] .x umain.C(1,100)
> /home/tyukov/R/root/bin/root.exe: can't resolve symbol '__moddi3'
> /home/tyukov/R/root/bin/root.exe: can't resolve symbol '__divdi3'
> dlopen error: Unable to resolve symbol
> Load Error: Dynamic link library /home/tyukov/R/root/pythia/libPythia.so can not load
> *** Interpreter error recovered ***
> (Int_t)0
Valeri,
when you linked Pythia library you most probably didn't tell the
linker (in one or another way) about the FORTRAN libraries. just include
them explicitly into the ld library list and everything should be oK. -pasha