Salome HOME
IPAL54303: CGNS export problems
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HypothesesUtils.cxx
index f6574cb5a967494be53b1573112b12dd3ebead07..021e003b93ada81e5b8ac34a605df6fa074364ff 100644 (file)
@@ -69,7 +69,7 @@
 #define UnLoadLib( handle ) FreeLibrary( handle );
 #else
 #define LibHandle void*
-#define LoadLib( name ) dlopen( name, RTLD_LAZY )
+#define LoadLib( name ) dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
 #define GetProc dlsym
 #define UnLoadLib( handle ) dlclose( handle );
 #endif
@@ -519,7 +519,7 @@ namespace SMESH
         if(MYDEBUG) MESSAGE("Loading client meshers plugin library ...");
         LibHandle libHandle = LoadLib( aClientLibName.toLatin1().data() );
         if (!libHandle) {
-          // report any error, if occured
+          // report any error, if occurred
           {
 #ifdef WIN32
             const char* anError = "Can't load client meshers plugin library";