Bug#1134137: [PATCH] Fix missing shared libraries in install rules

Luke Drummond ldrumm at rtps.co
Thu Apr 16 22:38:36 BST 2026


python3-ifcopenshell and ifcopenshell require shared libraries in the
install. Shipped binaries such as svgfill fail with a dynamic linker
error, and the python library fails to import due to a cryptic error
that is actually due to the missing libraries.

If the `libicfopenshell-dev` package is installed concurrently, then
these problems go away because those globs (plus .a archives) *are*
included in the .install globs.

Simply add the .so globs to the relevant debian/*.install file

Potentially fixes #1134137
---
 debian/ifcopenshell.install         | 1 +
 debian/python3-ifcopenshell.install | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/ifcopenshell.install b/debian/ifcopenshell.install
index e772481..9b95b99 100644
--- a/debian/ifcopenshell.install
+++ b/debian/ifcopenshell.install
@@ -1 +1,2 @@
 usr/bin
+usr/lib/*/lib*.so
diff --git a/debian/python3-ifcopenshell.install b/debian/python3-ifcopenshell.install
index b06a399..a36ee21 100644
--- a/debian/python3-ifcopenshell.install
+++ b/debian/python3-ifcopenshell.install
@@ -1 +1,2 @@
 usr/lib/python3
+usr/lib/*/lib*.so
-- 
2.53.0



More information about the debian-science-maintainers mailing list