Shared object with TVectorD

Hello Rooters,
I created a class which I added with rootcint to a shared object which was accessible for stand alone C++ code and from within root.
When I added a TVectorD to the header file I was not able to load the shared object in root anymore:

I assumed that I needed to add the vector class to the LinkDef.h file which didn’t help.

Any advice on how to fix that problem?

Cheers,

christian

“c++filt _ZN8TVectorTIdE4DrawEPKc” returns “TVectorT::Draw(char const*)”, so you are missing “-lMatrix” when linking your shared library.

Thanks Wile E.
It works now!
Cheers,
christian