[Bug 1582218] Re: python3.5dm-config --libs causes undefined reference to `PyModule_Create2'
Cas
1582218 at bugs.launchpad.net
Wed Jul 13 16:44:33 UTC 2016
It's due to libtorrent updating m4/ax_boost_python in v1.0.8.
Running configure with python3.2-dbg errors as per OP trace:
./configure PYTHON=/usr/bin/python3.2-dbg --enable-python-binding
--with-boost-python=boost_python-py32
These however work fine:
./configure PYTHON=/usr/bin/python3.2 --enable-python-binding --with-boost-python=boost_python-py32
./configure PYTHON=/usr/bin/python2.7-dbg --enable-python-binding --with-boost-python=boost_python-py32
A full breakdown of the issue on lt github:
https://github.com/arvidn/libtorrent/issues/766#issuecomment-232412993
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.5 in Ubuntu.
https://bugs.launchpad.net/bugs/1582218
Title:
python3.5dm-config --libs causes undefined reference to
`PyModule_Create2'
Status in python3.5 package in Ubuntu:
Invalid
Bug description:
Part of building libtorrent-rasterbar
Autoconf test for
conftest.cpp
| /* defs elided */
| /* confdefs.h */
|
| #include <boost/python/module.hpp>
| BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }
| int
| main ()
| {
|
| ;
| return 0;
| }
$ g++ -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include -I/usr/include/python3.5dm -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -fvisibility=hidden -fvisibility-inlines-hidden conftest.cpp -lboost_python-py35 -lboost_chrono -lboost_random -lpthread -L/usr/lib -lpython3.5dm
/usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `PyModule_Create2'
checking whether the Boost::Python library is available... yes
checking whether boost_python-py35 is the correct library... no
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1582218/+subscriptions
More information about the foundations-bugs
mailing list