]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix pb with save/restore GEOM for Debian 6.0
authorskv <skv@opencascade.com>
Wed, 23 Nov 2016 09:40:02 +0000 (12:40 +0300)
committerskv <skv@opencascade.com>
Wed, 23 Nov 2016 09:40:02 +0000 (12:40 +0300)
src/CAM/CAM_Application.cxx

index 473afae69e8a1dc5acbf4d43090a8d91d987dce6..a8603ec1f358f72eab8f0669b0ef0addac5700b5 100755 (executable)
@@ -335,7 +335,7 @@ CAM_Module* CAM_Application::loadModule( const QString& modName, const bool show
     getVersion = (GET_VERSION_FUNC)::GetProcAddress( modLib, GET_VERSION_NAME );
   }
 #else
-  void* modLib = dlopen( libName.toLatin1(), RTLD_LAZY );
+  void* modLib = dlopen( libName.toLatin1(), RTLD_LAZY | RTLD_GLOBAL );
   if ( !modLib )
     err = QString( "Can not load library %1. %2" ).arg( libName ).arg( dlerror() );
   else