I am trying to run root after installation in /opt/root as prefix. Now after configuring :-
when I run root, it hangs and gives me a message :-
/opt/root/bin/root.exe: error while loading shared libraries: libCore.so.5.06: cannot open shared object file: No such file or directory
Could you kindly tell me where is the problem.
Usually ROOTSYS also has to be exported
The starting root problem is solved once I exported ROOTSYS before ./configure. But after opening the root box, I got the following message.
Error: cannot open file “RtypesCint.h” FILE:(tmpfile) LINE:2
*** Interpreter error recovered ***
Now where is this problem coming from.
try with ./configure --help
to install ROOT with a prefix do:
Don’t forget the install step. The install step will copy all files needed to /opt/root (i.e. don’t build in /opt/root). Then to run you should not need to set ROOTSYS. The system knows it was installed in a fixed location. What you need to do is add /opt/root/lib to your LD_LIBRARY_PATH or to /etc/ld.so.conf (so no LD_LIBRARY_PATH is needed).
Installed and ran root successfully.