There is many posts about that on the forum. May be one of them will answer your question.
You can search “error while loading shared libraries: libCore.so”.
Your macro looks fine. But we cannot run it because of the missing data.
Now when I tray to read a root file with I get this message: input_line_15:2:3: error: use of undeclared identifier ‘run1’
Error in : Error evaluating expression (run1.Drav(“e1x>>hsqrt(100,0,50):e2x”)).
Execution of your code was aborted.