FS#50745 - [libtorrent-rasterbar]Python3 bindings failing to load (ImportError, undefined symbol: PyClass_Type)
Attached to Project:
Arch Linux
Opened by gdonval (gdonval) - Sunday, 11 September 2016, 20:32 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 02 November 2016, 15:45 GMT
Opened by gdonval (gdonval) - Sunday, 11 September 2016, 20:32 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 02 November 2016, 15:45 GMT
|
Details
Description:
libtorrent-rasterbar is provided with bindings for both Python 2 and Python 3. The Python 3 bindings are failing to load, giving the following error: ImportError: /usr/lib/libboost_python.so.1.61.0: undefined symbol: PyClass_Type 'PyClass_Type' is a type only defined in Python 2's Boost version, not in Python 3's. Steps to reproduce: 1. Open: terminal 2. Type: python3 -c "import libtorrent" 3. Error: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: /usr/lib/libboost_python.so.1.61.0: undefined symbol: PyClass_Type Fix: Please find attached an updated PKGBUILD which is working on my system. |
This task depends upon
Closed by Felix Yan (felixonmars)
Wednesday, 02 November 2016, 15:45 GMT
Reason for closing: Implemented
Additional comments about closing: libtorrent-rasterbar 1:1.1.1-4
Wednesday, 02 November 2016, 15:45 GMT
Reason for closing: Implemented
Additional comments about closing: libtorrent-rasterbar 1:1.1.1-4
For the time being, you can download the PKGBUILD I provided to an empty folder and run `makepkg` to compile and install it with `sudo pacman -U <package>.tar.xz`. Cheers