[Bug 1582218] Re: python3.5dm-config --libs causes undefined reference to `PyModule_Create2'

Chad Miller chad.miller at canonical.com
Mon May 16 18:38:47 UTC 2016

** Changed in: python3.5 (Ubuntu)
       Status: New => Invalid

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.5 in Ubuntu.

  python3.5dm-config --libs causes undefined reference to

Status in python3.5 package in Ubuntu:

Bug description:
  Part of building libtorrent-rasterbar

  Autoconf test for

  | /* 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:

More information about the foundations-bugs mailing list