Add debugging message upon libltdl dlopen() failure

This greatly simplifies debugging TDE dynamically loaded plugins!


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1261212 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 378e17d1a3
commit 950edb942c

@ -616,6 +616,10 @@ sys_dl_open (loader_data, filename)
if (!module)
{
char *error;
if ((error = dlerror()) != NULL) {
printf ("The Trinity ltdl loader was unable to dlopen() the shared library '%s' : '%s'\n\r", filename, error);
}
MUTEX_SETERROR (DLERROR (CANNOT_OPEN));
}

Loading…
Cancel
Save