# libRIO.so error

**URL:** <https://root-forum.cern.ch/t/librio-so-error/14281>\
**Category:** ROOT\
**Created:** [May 11, 2012, 3:29pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281 "2012-05-11T15:29:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hari](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hari](https://root-forum.cern.ch/u/hari)\
**Post date:** [May 11, 2012, 3:29pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/1 "2012-05-11T15:29:52Z")

</div>

Hi

I installed Root 5.32 in ubuntu 12.04. Installation is fine no problem but when i tried to merge root files using hadd command, i am getting this error

hadd: error while loading shared libraries: [libRIO.so](http://libRIO.so): cannot open shared object file: No such file or directory

I am no expert in either ubuntu or Root, i wonder how to link the libraries.  
PS: I had 5.32 installed in ubuntu 11.10 and i didnt face this issue.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![hari](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hari](https://root-forum.cern.ch/u/hari)\
**Post date:** [May 11, 2012, 3:36pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/2 "2012-05-11T15:36:23Z")

</div>

Forgive me…found the problem…

I didnt give the library parth name correctly. Corrected it. Its working

---

<div class="post-metadata">

**Author:** ![maikenp](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/8797f3/32.png) [@maikenp](https://root-forum.cern.ch/u/maikenp)\
**Post date:** [September 12, 2012, 1:39pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/3 "2012-09-12T13:39:31Z")

</div>

Hi,

an old thread, but I have the same problem, and wonder how the path should be set…

Maiken

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 12, 2012, 1:43pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/4 "2012-09-12T13:43:09Z")

</div>

source /path/to/your/ROOT/installation/bin/thisroot.©sh

---

<div class="post-metadata">

**Author:** ![maikenp](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/8797f3/32.png) [@maikenp](https://root-forum.cern.ch/u/maikenp)\
**Post date:** [September 12, 2012, 2:01pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/5 "2012-09-12T14:01:06Z")

</div>

Ah, that path. I thought he meant maybe the system path or LD\_LIBRARY\_PATH .

Ok, thanks, then my problem is elsewhere, and I will try to investigate more.

Maiken

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 12, 2012, 2:05pm UTC](https://root-forum.cern.ch/t/librio-so-error/14281/6 "2012-09-12T14:05:43Z")

</div>

You need to EXECUTE the “thisroot.©sh” script, in your current shell, using:  
source /path/to/your/ROOT/installation/bin/thisroot.©sh  
See inside of the “thisroot.©sh” file to learn what it defines and/or modifies in the current shell environment.
