give out a little more information in case of a missing dependency
PR: 56549 Submitted by: edwin Reviewed by: joerg, ru Approved by: joerg MFC after: 2 weeks
This commit is contained in:
parent
14a60ae9a2
commit
0a16eb8341
@ -838,7 +838,12 @@ find_library(const char *xname, const Obj_Entry *refobj)
|
||||
(pathname = search_library_path(name, STANDARD_LIBRARY_PATH)) != NULL)
|
||||
return pathname;
|
||||
|
||||
_rtld_error("Shared object \"%s\" not found", name);
|
||||
if(refobj != NULL && refobj->path != NULL) {
|
||||
_rtld_error("Shared object \"%s\" not found, required by \"%s\"",
|
||||
name, basename(refobj->path));
|
||||
} else {
|
||||
_rtld_error("Shared object \"%s\" not found", name);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user