[pkg-boost-devel] Bug#631079: [boost1.46] Please build boost.python for pythonX-dbg too
Cristian Greco
cristian at regolo.cc
Sun Jun 19 23:30:25 UTC 2011
Package: boost1.46
Severity: normal
Tags: patch
Hi,
I'm working on #628041 [0], building python-libtorrent (python
bindings for libtorrent-rasterbar) for pythonX-dbg.
Unfortunately, those extensions can't actually work:
$ python-dbg -c "import libtorrent"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/libboost_python-py26.so.1.46.1: undefined symbol: Py_InitModule4_64
[15005 refs]
This error is obliviously due to the fact boost.python is built against
pythonX and not pythonX-dbg. Would it be possible to add such a version
of boost.python (argh, another one!)?
I tested a modified build and it compiles and works fine, please find
attached my patch. It is _very_ imprecise and incomplete, but maybe can
save you a bit of work or give an idea of what is needed. File
debian/rtupdate should be updated too, I just installed the symlinks
manually.
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628041
Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pydbg.patch
Type: text/x-patch
Size: 2898 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20110620/745ae855/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20110620/745ae855/attachment.pgp>
More information about the pkg-boost-devel
mailing list