From b8c725d044864576dfeb87ff6200aa745da735a6 Mon Sep 17 00:00:00 2001 From: skv Date: Thu, 24 Nov 2016 13:50:48 +0300 Subject: [PATCH] Fix pb with save/restore GEOM for Debian 6.0 --- src/GEOM_I/GEOM_Gen_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 5e1710bfa..aac522ccc 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -84,7 +84,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 -- 2.39.2