"You are probably missing the definition of cling::printValue(int const*)"

I am fairly new to ROOT, as I just finished installing it. After “make” and “make install” I was presented with this in the terminal:


root [0] 
Processing hsimple.C...
hsimple   : Real Time =   0.05 seconds Cpu Time =   0.04 seconds
IncrementalExecutor::executeFunction: symbol '_ZN5cling10printValueEPPKv' unresolved while linking [cling interface function]!
You are probably missing the definition of cling::printValue(void const**)
Maybe you need to load the corresponding shared library?
(TFile *) Error in ValuePrinter: missing output string.
 
   ============================================================
   ===                ROOT BUILD SUCCESSFUL.                ===
   === Run 'source bin/thisroot.[c]sh' before starting ROOT ===
   ============================================================

I opened root and none of the root commands are working, and they present me with the same “You are probably missing …”

I am using gcc version 5.2.1, root v6.06.02, and ubuntu 15.10.

Can anyone help me out with this one?

Thanks.

Ok, well I didn’t make any changes but after restarting my computer ROOT is working. Not sure what happened there but that’s what fixed it for me. Cheers.

I freshly installed Ubuntu 16.04. I am also getting the same problem.

But, my problem still persists after restarting the computer. And whenever I open a root file using “root -l FileName.root” it gives me the same error.

Version of root that I am trying to install is 6.06/06.

Please suggest how I can fix this issue?

No graphical output +
Memory leak in ROOT::Math::IntegratorMultiDim +
Memory leak in ROOT::Math::IntegratorMultiDim +
Memory leak in ROOT::Math::IntegratorMultiDim =
\:D/