[Bug 1582218] [NEW] libboost_python-py35.so: undefined reference to `PyModule_Create2'

Chad Miller chad.miller at canonical.com
Mon May 16 12:56:19 UTC 2016


Public bug reported:

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

** Affects: boost-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to boost-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1582218

Title:
  libboost_python-py35.so: undefined reference to `PyModule_Create2'

Status in boost-defaults package in Ubuntu:
  New

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/boost-defaults/+bug/1582218/+subscriptions



More information about the foundations-bugs mailing list