Error: libCore.so.5.27: cannot open shared object file

Dear experts,

I installed ROOT 5.27 on my Ubuntu machine. When I use the hadd command, I got an error:
hadd: error while loading shared libraries: libCore.so.5.27: cannot open shared object file: No such file or directory, so how to fix the problem?
Thanks a lot!
Jike

Hi,

how did you install ROOT? I assume that LD_LIBRARY_PATH isn’t set up properly e.g. through source bin/thisroot.sh (if built without --prefix), or that you didn’t modify your /etc/ld.so.conf (if built with --prefix).

Cheers, Axel.