# Error in gROOT-\>GetVersion()

**URL:** <https://root-forum.cern.ch/t/error-in-groot-getversion/42247>\
**Category:** Newbie\
**Created:** [November 11, 2020, 7:31pm UTC](https://root-forum.cern.ch/t/error-in-groot-getversion/42247 "2020-11-11T19:31:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gleck](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/45deac/32.png) [@gleck](https://root-forum.cern.ch/u/gleck)\
**Post date:** [November 11, 2020, 7:31pm UTC](https://root-forum.cern.ch/t/error-in-groot-getversion/42247/1 "2020-11-11T19:31:21Z")

</div>

Hi there. In trying to post a topic about the problem I am actually having, I tried to find my version of ROOT using gROOT-\>GetVersion() suggested in [this post](https://root-forum.cern.ch/t/how-to-check-root-version/27019). However, I get the following errors.

```auto
root [0] gROOT->GetVersion()
Error in <TReentrantRWLock::WriteUnLock>: Write lock already released for 0x2a44128
Error in <TRint::HandleTermInput()>: std::runtime_error caught: locale::facet::_S_create_c_locale name not valid

```

Whenever I run root, I also receive the following warning but I’m not sure it its important.

```auto
Warning in <EnableImplicitMT>: Cannot enable implicit multi-threading with 0 threads, please build ROOT with -Dimt=ON

```

Any help would be greatly appreciated!

* * *

_ROOT Version:_ I think it’s 6.22/02  
_Platform:_ Centos7  
_Compiler:_ I think it’s g++? How do I find out?

* * *

---

<div class="post-metadata">

**Author:** ![jblomer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jblomer](https://root-forum.cern.ch/u/jblomer)\
**Post date:** [November 11, 2020, 7:59pm UTC](https://root-forum.cern.ch/t/error-in-groot-getversion/42247/2 "2020-11-11T19:59:55Z")

</div>

Hi,

Can you tell us how you installed ROOT? Did you compile it yourself or does it come from a system package or the binary distribution?

Cheers,  
Jakob

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [November 11, 2020, 8:03pm UTC](https://root-forum.cern.ch/t/error-in-groot-getversion/42247/3 "2020-11-11T20:03:16Z")

</div>

Are you running in a virtual machine?

---

<div class="post-metadata">

**Author:** ![gleck](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/45deac/32.png) [@gleck](https://root-forum.cern.ch/u/gleck)\
**Post date:** [November 11, 2020, 8:27pm UTC](https://root-forum.cern.ch/t/error-in-groot-getversion/42247/4 "2020-11-11T20:27:16Z")

</div>

I installed root using `yum install root`, so I believe it’s from the Centos7 system package.

I am using a Windows Ubuntu subsystem to SSH to my computer at work which is running Centos7 natively.
