I am trying to reinstall ROOT. However, when I start ROOT, I get the following message.
cling::DynamicLibraryManager::loadLibrary(): libGpad.so.6.28: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libGpad.so.6.28: cannot open shared object file: No such file or directory
root [0]
What do I need to correct? Any help would be greatly appreciated.
If you get this 6.28 in the error message, it means that somehow it’s still picking up an old ROOT installation, that was only partially removed. Try apt remove root-framework and snap uninstall root or things like that. Also “which root” or “whereis root” can give you an idea.
I was using a program that runs on ROOT, which I had installed in an older version. After reinstalling the program, the error disappeared. It seems that some environmental variables from the old installation may have persisted.