From 98b0a7af3ded36867efa18db6ef39d668cdf2000 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 3 Aug 2009 16:29:52 +0000 Subject: [PATCH] Per http://www.open-mpi.org/community/lists/devel/2009/08/6555.php, add an lt_dlerror() in the error output one of the error cases. This commit was SVN r21751. --- opal/mca/base/mca_base_component_find.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/base/mca_base_component_find.c b/opal/mca/base/mca_base_component_find.c index 8baf453e5d..5f1127044d 100644 --- a/opal/mca/base/mca_base_component_find.c +++ b/opal/mca/base/mca_base_component_find.c @@ -502,8 +502,8 @@ static int open_component(component_file_item_t *target_file, component_struct = (mca_base_component_t*)lt_dlsym(component_handle, struct_name); if (NULL == component_struct) { opal_output_verbose(vl, 0, "mca: base: component_find: \"%s\" does not appear to be a valid " - "%s MCA dynamic component (ignored)", - target_file->basename, target_file->type); + "%s MCA dynamic component (ignored): %s", + target_file->basename, target_file->type, lt_dlerror()); free(mitem); free(struct_name); lt_dlclose(component_handle);