Commit d9a7c19b authored by Michael Davidsaver's avatar Michael Davidsaver

more logging from DSO search process

parent eada792f
......@@ -6,6 +6,8 @@ Release Notes
2.4 (UNRELEASED)
----------------
* More logging from DSO search process.
2.3 (Aug 2021)
--------------
......
......@@ -154,8 +154,8 @@ class dso2libmixin:
dsobase = os.path.dirname(import_module(parts[0]).__file__)
dsodir = os.path.join(dsobase, *parts[1:-1])
dsosearch.append(dsodir)
except ImportError:
pass
except ImportError as e:
log.debug("Can't find %s: %s"%(parts, e))
for candidate in dsosearch:
C = os.path.join(candidate, libname)
......@@ -166,7 +166,7 @@ class dso2libmixin:
sodirs.append(candidate)
break
else:
raise RuntimeError("Unable to find DSO %s needed by extension %s"%(dso, ext.name))
raise RuntimeError("Unable to find DSO %s needed by extension %s in %s"%(dso, ext.name, dsosearch))
solibs.append(parts[-1])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment