Building debs with SWIG libraries do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-support (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Canonical Foundations Team |
Bug Description
Affected systems: Ubuntu 10.04 LTS, x86. (x86_64 has not been tested.)
I am attempting to put together a .deb for Djinni, a metaheuristic modeling tool. Djinni consists of a C++ core, with SWIG-generated Python bindings to those C++ libraries. After creating and installing the .deb, the pure Python files are installed correctly, but the C++ libraries are not.
E.g., 'import djinni' works fine, since the djinni package is pure Python: 'import djinni.ca_tsp' does not, since this depends on the .so file _ca_tsp, which cannot be found.
The .so files are present in the .deb, getting installed to /usr/lib/
The .dsc file can be obtained from http://
Scott K in #debian-python has checked this out on Debian Sid and reports it works correctly. Likewise, this bug is not reproducible on Ubuntu 10.10. He was able to reproduce it on Ubuntu 10.04.
Changed in python-support (Ubuntu Lucid): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in python-support (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.2 → ubuntu-10.04.3 |
Changed in python-support (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.3 → ubuntu-10.04.4 |
Changed in python-support (Ubuntu Lucid): | |
importance: | High → Medium |
Seems to be related to how python-support builds symlinks. Works in maverick, but not 10.04.