diff options
author | David Robillard <d@drobilla.net> | 2014-09-26 20:36:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-09-26 20:36:24 +0000 |
commit | e77bc896494b9fe980e89639b0120f7c37f219da (patch) | |
tree | 38331ff94d4ca0f7a6f997af755569a0c2186a48 /src | |
parent | e64af6949d17969facc47d6bc352dba2c4d0fe0b (diff) | |
download | lilv-e77bc896494b9fe980e89639b0120f7c37f219da.tar.gz lilv-e77bc896494b9fe980e89639b0120f7c37f219da.tar.bz2 lilv-e77bc896494b9fe980e89639b0120f7c37f219da.zip |
Report specific error when dyn-manifest dlopen() fails (fix #983).
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5467 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/world.c | 4 |
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; } |