I am having problems running a C++ program using ROOT. It compiles and links without complaint. Here is the linking step:
Then, when I run, I get the error:
But, the file: /usr/local/lib/root/libGpad.so definitely exists.
If I remove the -lGpad flag in the linking, it complains of things like “/usr/local/lib/root/libGui.so: undefined reference to 'TCanvas” when it tries to link.
What could I be doing wrong?