diff --git a/server/plugin.c b/server/plugin.c index fd88c4c..86184e0 100644 --- a/server/plugin.c +++ b/server/plugin.c @@ -293,7 +293,7 @@ plugin_load(const char *libpath) #ifdef DEBUG printf("Loading plugin from %s\n", libpath); #endif - handle = dlopen(libpath, RTLD_LAZY); + handle = dlopen(libpath, RTLD_NOW); if (!handle) { errno = ELIBACC; return -1;