From 6130f4ccec7fe0bd34591285e6c441294f8c3521 Mon Sep 17 00:00:00 2001 From: sebastid Date: Wed, 24 Aug 2005 21:25:06 +0000 Subject: [PATCH] We need to open with global. Else embrace module wont work, since it opens its own modules. SVN revision: 16318 --- src/bin/e_module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_module.c b/src/bin/e_module.c index e02a670ab..ca8fd32b4 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -105,7 +105,7 @@ e_module_new(char *name) free(m); return NULL; } - m->handle = dlopen(modpath, RTLD_NOW | RTLD_LOCAL); + m->handle = dlopen(modpath, RTLD_NOW | RTLD_GLOBAL); if (!m->handle) { e_error_dialog_show(_("Error loading Module"), @@ -113,7 +113,7 @@ e_module_new(char *name) "The full path to this module is:\n" "%s\n" "The error reported was:\n" - "%s"), + "dlopen: %s"), name, buf, dlerror()); free(m); return NULL; @@ -135,7 +135,7 @@ e_module_new(char *name) "The full path to this module is:\n" "%s\n" "The error reported was:\n" - "%s"), + "dlsym: %s"), name, buf, dlerror()); dlclose(m->handle); free(m);