Static TLS problem with Matlab #6
Description
Hello again!
Pitifully regardless how useful this tool seemed to me I have encountered an almost unavoidable issue with Matlab. After preparing the mex library to use the classes defined in other libraries I'm working with (concretely the MRPT toolbox, http://www.mrpt.org/), I get the following error in Matlab during execution:
Error using MRPT.RealLRF_
Invalid MEX-file '/home/jesus/Code/Matlab/mexMRPT/+MRPT/RealLRF_.mexa64': dlopen: cannot load
any more object with static TLS
It seems as if the linked libraries of MRPT have too many dependencies, so that Matlab collapses. I think you have also worked out some similar wrapping and solutions for OpenCV, which is in some way similar to the MRPT toolbox I'm using. So, do you think there could be any workaround for this issue with static TLS in Matlab?
I highly thank you for your work and support!