TGeoManager missing in CentOS8

ROOT Version: 6.22/06
Platform: CentOS 8
Compiler: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)

Dear experts,

I installed ROOT via EPEL and it works, but when I look for TGeoManager I’m unable to find it. The same happened when I installed it via “yum -y install root”.

Hi @powamaker,

What do you mean by not being able to find TGeoManager? Could you please attach the code that you are having problems with? Nevertheless, I will invite @linev to this thread as he may provide an useful answer later.


Hi @jalopezg,

I can basically start root from the command line, but when I type “TGeoManager” I get

input_line_9:2:3: error: use of undeclared identifier 'TGeoManager’



I am not sure that I can help here.
TGeo classes should be always build.
Do you have different ROOT versions installed?
Please check your PATH and LD_LIBRARY_PATH shell variables to be sure.

Thank you @linev . I’ve checked and I only have one root version installed. It seems that building it from source solves the problem, but still this appears to be weird.

Honestly speaking, sooner or later, you will learn by hard that the policy of using a “system-provided” ROOT version (e.g. in “/usr/[bin|lib]” or “/usr/local/[bin|lib]”) is a dead end, but suit yourself:
sudo yum -y install root-geom

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.