We need to open with global. Else embrace module wont work, since it
opens its own modules. SVN revision: 16318
This commit is contained in:
parent
6d2c0660b4
commit
6130f4ccec
|
@ -105,7 +105,7 @@ e_module_new(char *name)
|
||||||
free(m);
|
free(m);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
m->handle = dlopen(modpath, RTLD_NOW | RTLD_LOCAL);
|
m->handle = dlopen(modpath, RTLD_NOW | RTLD_GLOBAL);
|
||||||
if (!m->handle)
|
if (!m->handle)
|
||||||
{
|
{
|
||||||
e_error_dialog_show(_("Error loading Module"),
|
e_error_dialog_show(_("Error loading Module"),
|
||||||
|
@ -113,7 +113,7 @@ e_module_new(char *name)
|
||||||
"The full path to this module is:\n"
|
"The full path to this module is:\n"
|
||||||
"%s\n"
|
"%s\n"
|
||||||
"The error reported was:\n"
|
"The error reported was:\n"
|
||||||
"%s"),
|
"dlopen: %s"),
|
||||||
name, buf, dlerror());
|
name, buf, dlerror());
|
||||||
free(m);
|
free(m);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -135,7 +135,7 @@ e_module_new(char *name)
|
||||||
"The full path to this module is:\n"
|
"The full path to this module is:\n"
|
||||||
"%s\n"
|
"%s\n"
|
||||||
"The error reported was:\n"
|
"The error reported was:\n"
|
||||||
"%s"),
|
"dlsym: %s"),
|
||||||
name, buf, dlerror());
|
name, buf, dlerror());
|
||||||
dlclose(m->handle);
|
dlclose(m->handle);
|
||||||
free(m);
|
free(m);
|
||||||
|
|
Loading…
Reference in New Issue