Skip to content

Current boost libraries incompatible with with python2 #18

@Earnestly

Description

@Earnestly
  • linux 4.16.11-1-ARCH
  • Python 3.6.6 (soon 3.7)

After building libarea and attempting to run the small test program via python2 test.py I am getting the following error:

Traceback (most recent call last):
  File "test.py", line 1, in <module>
    import area
ImportError: /home/earnest/build/staging/libarea-git/src/libarea/area.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

Which when demangled is: boost::python::detail::init_module(PyModuleDef&, void (*)())

The trouble is libboost_python27.so.1.67.0 is built with the python3 ABI/API instead of python2. Outside of providing boost-libs specifically built for older versions of python, is there any chance this project might upgrade to python3 instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions