# TGeoManager missing in CentOS8

**URL:** <https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793>\
**Category:** ROOT\
**Created:** [March 3, 2021, 11:12am UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793 "2021-03-03T11:12:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![powamaker](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@powamaker](https://root-forum.cern.ch/u/powamaker)\
**Post date:** [March 3, 2021, 11:12am UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/1 "2021-03-03T11:12:44Z")

</div>

_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”.

---

<div class="post-metadata">

**Author:** ![jalopezg](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jalopezg/32/25844_2.png) [@jalopezg](https://root-forum.cern.ch/u/jalopezg)\
**Post date:** [March 3, 2021, 11:57am UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/2 "2021-03-03T11:57:34Z")

</div>

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.

Cheers,  
J.

---

<div class="post-metadata">

**Author:** ![powamaker](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@powamaker](https://root-forum.cern.ch/u/powamaker)\
**Post date:** [March 3, 2021, 12:03pm UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/3 "2021-03-03T12:03:50Z")

</div>

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’**
> 
> (TGeoManager)

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [March 3, 2021, 3:01pm UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/4 "2021-03-03T15:01:58Z")

</div>

Hi,

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.

---

<div class="post-metadata">

**Author:** ![powamaker](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@powamaker](https://root-forum.cern.ch/u/powamaker)\
**Post date:** [March 3, 2021, 7:17pm UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/5 "2021-03-03T19:17:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 3, 2021, 7:24pm UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/6 "2021-03-03T19:24:40Z")

</div>

[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](https://root-forum.cern.ch/t/missing-canvas/17664/17), but suit yourself:  
`sudo yum -y install root-geom`

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 17, 2021, 7:24pm UTC](https://root-forum.cern.ch/t/tgeomanager-missing-in-centos8/43793/7 "2021-03-17T19:24:50Z")

</div>

Closed on March 17, 2021, 7:24pm UTC

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