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: 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.

Forgive me…found the problem…

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


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


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

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.


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.