Error building O2Physics in Ubuntu 20.04.6 LTS

Dear all,

After updating alidist and O2, i tried building O2Physics, but I get the error message

2023-06-13@10:35:32:DEBUG:O2Physics:GEANT3:0: /home/sigurd/alice/sw/ubuntu2004_x86-64/GCC-Toolchain/v12.2.0-alice1-1/bin/../lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lROOT::EGPythia6: No such file or directory
2023-06-13@10:35:32:DEBUG:O2Physics:GEANT3:0: collect2: error: ld returned 1 exit status
2023-06-13@10:35:32:DEBUG:O2Physics:GEANT3:0: make[2]: *** [CMakeFiles/geant321.dir/build.make:17204: libgeant321.so] Error 1
2023-06-13@10:35:32:DEBUG:O2Physics:GEANT3:0: make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/geant321.dir/all] Error 2
2023-06-13@10:35:32:DEBUG:O2Physics:GEANT3:0: make: *** [Makefile:156: all] Error 2

The entire log is here:
log.txt (1.8 MB)

Any help is appreciated!

Regards,
Sigurd Nese

Hi @sinese, there’s a conflicting ROOT installation in /home/sigurd/root that’s confusing aliBuild. Please remove it from your environment or delete it!

1 Like