Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

collect_libs: name the libraries a dlopen'd library cannot find

Niko12211bd9746f53f4
diff --git a/packaging/collect_libs.py b/packaging/collect_libs.py
index 7ec452560..b6530b1dc 100644
--- a/packaging/collect_libs.py
+++ b/packaging/collect_libs.py
@@ -139,7 +139,11 @@ def main(argv=None) -> int:
continue
shutil.copy2(real, a.out / name)
copied[name] = str(real)
- for dep, path in dependencies(a.out / name, a.search)[0].items():
+ found, missing = dependencies(a.out / name, a.search)
+ for dep in missing:
+ if not is_driver(dep):
+ print(f"WARNING: {name} needs {dep}, which ldd cannot find", file=sys.stderr)
+ for dep, path in found.items():
if is_driver(dep) or dep in copied:
continue
if is_system(path):