diff --git a/src/account.c b/src/account.c index ba3f650..2cbae66 100644 --- a/src/account.c +++ b/src/account.c @@ -38,7 +38,7 @@ Account * account_new(char const * type, char const * name) return NULL; } sprintf(filename, "%s/%s/%s.so", PLUGINDIR, type, name); - if((account->handle = dlopen(filename, RTLD_NOW)) == NULL + if((account->handle = dlopen(filename, RTLD_LAZY)) == NULL || (account->plugin = dlsym(account->handle, "account_plugin")) == NULL) {