reader modules cannot use dlopen themselves
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
My reader module uses dlopen to load in some additional functionality. Because in DynamicLoader the dlopen does not export all symbols of the loaded reader this fails.
To resolve I've added an RTLD_GLOBAL to the dlopen call:
in TK/Utilities/kwsys/DynamicLoader.cxx, in DynamicLoader::OpenLibrary
change to:
return dlopen(libname, RTLD_LAZY|RTLD_GLOBAL);
Mattijs