# Problem with libGui.so.6.14

**URL:** <https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435>\
**Category:** Newbie\
**Created:** [June 5, 2019, 12:49pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435 "2019-06-05T12:49:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NikkieD](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@NikkieD](https://root-forum.cern.ch/u/NikkieD)\
**Post date:** [June 5, 2019, 12:49pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435/1 "2019-06-05T12:49:58Z")

</div>

Hi All,

I’m not very good with linking libraries and so on, so here is a newbie question.

I have a program that uses root to plot some data from a lab power supply on two computers. On one computer it works, and on the other one I get the following error when running it it:

```auto
lvSupervisor: error while loading shared libraries: libGui.so.6.14: cannot open shared object file: No such file or directory
```

Before I run the program I do the following:

```auto
source /opt/root5/bin/thisroot.sh
export ROOTLIB=/usr/local/lib/root
export ROOTSYS=/usr/local/lib/root
```

When I look at both computer, one has root 5.34/34 and the other, has 5.36/34. Can this be the problem? Both computer have CentOS7 from CERN. And when I check both computer’s /usr/local/lib/ dirs they look very similar.

So I have no clue what is going on…

Cheers,  
Nikkie

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [June 5, 2019, 7:30pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435/2 "2019-06-05T19:30:59Z")

</div>

Hi,

there is an issue with your environment. You are probably trying to run an executable built to work together with root 6.14 and setting up an environment for root5.

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![NikkieD](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@NikkieD](https://root-forum.cern.ch/u/NikkieD)\
**Post date:** [June 13, 2019, 1:47pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435/3 "2019-06-13T13:47:42Z")

</div>

So I tried with

```auto
source /opt/root6/bin/thisroot.sh
export ROOTLIB=/usr/local/lib/root
export ROOTSYS=/usr/local/lib/root
```

because I have both root versions on this computer, and then I get the same problem…

---

<div class="post-metadata">

**Author:** ![Pnine](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@Pnine](https://root-forum.cern.ch/u/Pnine)\
**Post date:** [June 13, 2019, 2:10pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435/4 "2019-06-13T14:10:21Z")

</div>

Hello,

this is fishy. What happens if you just source the script?

---

<div class="post-metadata">

**Author:** ![NikkieD](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@NikkieD](https://root-forum.cern.ch/u/NikkieD)\
**Post date:** [June 13, 2019, 2:25pm UTC](https://root-forum.cern.ch/t/problem-with-libgui-so-6-14/34435/5 "2019-06-13T14:25:52Z")

</div>

Dear @Pnine,

So there was indeed something fishy going on. For some reason the Makefiles had changed and therefore it did not compile properly anymore.  
I copied the Makefile from a computer on which is was still working, compiled again and now it is working with root5 again.

Cheers,  
Nikkie
