Cannot load library libtbb.so.2:


Hi,

I wanted to let you know that the pre-built root_v6.40.04.Linux-almalinux9.8-x86_64-gcc11.5 package available for download does not seem to work on Ubuntu 24. It appears to be attempting to use libtbb.so.2 which is not available for that Linux version. Ideally tbb should be embedded in the pre-built root.

Regards.

Fatal in TROOT::InitInterpreter: cannot load library libtbb.so.2: cannot open shared object file: No such file or directory

ROOT Version: 6.40.04
Platform: Linux Ubuntu 24.04
Compiler: gcc 11.5


since you are downloading the binary of Alma9, it’s not supposed to work on Ubuntu24

try instead https://root.cern/download/root_v6.40.04.Linux-ubuntu24.04-x86_64-gcc13.3.tar.gz

My bad. I was naively thinking that this was some kind of universal ROOT which was embedding all its dependencies (as some opensource software do, e.g ParaView, SALOME, etc.)
Thanks for the prompt feedback.

a universal ROOT binary is not (yet) feasible:

although there are some first attempts towards this: support static builds of ROOT by ferdymercury · Pull Request #24227 · root-project/root · GitHub