summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c
index 977e966..bd926d9 100644
--- a/src/world.c
+++ b/src/world.c
@@ -487,9 +487,11 @@ lilv_world_load_dyn_manifest(LilvWorld* world,
}
// Open library
+ dlerror();
void* lib = dlopen(lib_path, RTLD_LAZY);
if (!lib) {
- LILV_ERRORF("Failed to open dynmanifest library `%s'\n", lib_path);
+ LILV_ERRORF("Failed to open dynmanifest library `%s' (%s)\n",
+ lib_path, dlerror());
sord_iter_free(binaries);
continue;
}