[pkg-boost-devel] Bug#842928: Bug#842928: libboost-python1.62.0 exports Python 2 symbols for Python 3

Khoyo khoyobegenn at gmail.com
Thu Nov 3 15:18:32 UTC 2016


2016-11-03 7:12 GMT+01:00 Steve M. Robbins <steve at sumost.ca>:
> On Wednesday, November 2, 2016 12:46:41 PM CDT Khoyo wrote:
>> Package: libboost-python1.62.0
>>
>> Version: 1.62.0+dfsg-2
>>
>> This fails with libboost-python 1.62, but works with 1.61:
>>
>>  % g++ -I/usr/include/python3.5m/ conftest.cc -lboost_python-py35
>> -lpython3.5m /tmp/cc6JvhrE.o: In function `PyInit_empty':
>
>
> Can you send "conftest.cc" -- or some other file -- so we can reproduce?

Sure, here it is (not the full autoconf file, but produce the same errors):

#include <boost/python.hpp>
BOOST_PYTHON_MODULE(empty) {}
int main ()
{
  return 0;
}



More information about the pkg-boost-devel mailing list