Make missing public soname error message clear.
If a public library is missing, make it clear that there is no
library with that soname that is missing. This can help diagnose
problems if a library exists, but the library doesn't have the right
soname.
Bug: 29400363
(cherry picked from commit 9a84d90c75
)
Change-Id: Ie2306a2e28aff779d07441dc8af078256b184f8a
This commit is contained in:
parent
112be469bb
commit
523e2a9807
1 changed files with 2 additions and 2 deletions
|
@ -2403,8 +2403,8 @@ bool init_namespaces(const char* public_ns_sonames, const char* anon_ns_library_
|
|||
find_loaded_library_by_soname(&g_default_namespace, soname.c_str(), &candidate);
|
||||
|
||||
if (candidate == nullptr) {
|
||||
DL_ERR("error initializing public namespace: \"%s\" was not found"
|
||||
" in the default namespace", soname.c_str());
|
||||
DL_ERR("error initializing public namespace: a library with soname \"%s\""
|
||||
" was not found in the default namespace", soname.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue