Problem linking shared library generated with ACLiC

Hi all,
I’ve built a class that uses a method from Math/SpecFuncMathMore.h
To build iot with ACLiC, in the cxx class I’ve added the proper include
#include "Math/SpecFuncMathMore.h"
then I log into root and I load the mathmore libraries
and compile my class without problems!

when I link that library building my executable the compiler complains:

/home/Packages/root/lib/ undefined reference to `XShapeCombineMask’

so: how do I get rid of this error?
Where do the comes into play?

Thanks and cheers,

Seems that the problem was due to a missing -lXext when linking.

But still, now, after succeding linking I get an error message running my executable:
./Fit: error while loading shared libraries: cannot open shared object file: No such file or directory

but, of course, the shared library is there!

Seems that I was missing an ./ in my LD_LIBRARY_PATH.
It’s good to find problems and solve them :slight_smile:

Sorry to have bugged people.