Problem to run a code script on a newly installed ROOT instance

Welcome to the ROOT Forum!
Did you try to search the Forum? For example, this topic might be related:
Sudden compiler (linking?) error