gSystem -> Load(): undefined symbol

When I load a custom built library
gSystem -> Load("/afs/cern.ch/work/v/vveckaln/private/CompoundHistoLib/lib/libCompoundHisto.so")

I get an error related to the TMatrixTBase class:

undefined symbol: _ZN12TMatrixTBaseIdE4DrawEPKc

Any ideas what is at the heart of this issue?

The output from c++filt _ZN12TMatrixTBaseIdE4DrawEPKc suggests that you first need to: gSystem->Load("libMatrix");

1 Like

That solved the problem.

It would be nice if all class references

(such as https://root.cern.ch/root/html604/TMatrixTBase_double_.html)

referred to additional libraries that need to be loaded.

TMatrixTBase< Element > Class Template Reference

grep TMatrixTBase `root-config --libdir`/*.rootmap
1 Like

I am curious what are the files with the extension .rootmap?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.