[Bug 1800264] Re: python3-libtorrent linking libboost_python27.so instead of libboost_python36.so
Launchpad Bug Tracker
1800264 at bugs.launchpad.net
Mon Jan 7 08:22:16 UTC 2019
This bug was fixed in the package libtorrent-rasterbar -
1.1.9-1ubuntu0.1
---------------
libtorrent-rasterbar (1.1.9-1ubuntu0.1) cosmic; urgency=medium
* Fix linking to wrong boost_python with Python 3. (LP: #1800264)
-- Calum Lind <calumlind at gmail.com> Wed, 05 Dec 2018 11:12:55 +0000
** Changed in: libtorrent-rasterbar (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to boost1.67 in Ubuntu.
https://bugs.launchpad.net/bugs/1800264
Title:
python3-libtorrent linking libboost_python27.so instead of
libboost_python36.so
Status in boost1.67 package in Ubuntu:
Won't Fix
Status in libtorrent-rasterbar package in Ubuntu:
Fix Released
Status in boost1.67 source package in Cosmic:
New
Status in libtorrent-rasterbar source package in Cosmic:
Fix Released
Bug description:
[Impact]
Due to the libboost-python naming convention changing,
python3-libtorrent incorrectly links to libboost_python27.so instead
of libboost_python36.so in cosmic. The essentially renders the package
useless.
[Test Case]
Run the command:
$ python3 -c "import libtorrent"
With 1.1.9-1 on cosmic, it will fail with:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0: undefined symbol: PyClass_Type
The command should exit without error in the fixed version.
[Regression Potential]
There is little regression potential as the package is currently
broken without this fix.
----
An error occurs when importing the libtorrent module from python 3.x
script:
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0:
undefined symbol: PyClass_Type
How to reproduce:
1. Install packages:
python36
python3-libtorrent
2. Run any python script importing libtorrent module
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: python3-libtorrent 1.1.9-1
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Oct 27 09:21:43 2018
InstallationDate: Installed on 2009-11-28 (3254 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: libtorrent-rasterbar
UpgradeStatus: Upgraded to cosmic on 2018-10-25 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.67/+bug/1800264/+subscriptions
More information about the foundations-bugs
mailing list