Skip to content

undefined symbol on Debian 11 #205

@trebor1718

Description

@trebor1718

Hi!
I compiled and installed heekscad and heekscnc on Debian 11 "Bullseye" (current testing branch). When trying to Post-Process (generate the gcode), I get the following error:

18:38:56: Traceback (most recent call last):
  File "/tmp/post.py", line 6, in <module>
    import area
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python39.so.1.74.0: undefined symbol: PyUnicode_AsUTF8String

18:38:56: Traceback (most recent call last):
  File "/usr/lib/heekscnc/backplot.py", line 8, in <module>
    machine_module = __import__('nc.' + reader, fromlist = ['dummy'])
  File "/usr/lib/heekscnc/nc/iso_read.py", line 8, in <module>
    import nc_read as nc
  File "/usr/lib/heekscnc/nc/nc_read.py", line 7, in <module>
    import area
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python39.so.1.74.0: undefined symbol: PyUnicode_AsUTF8String

18:38:56: can't open file '/tmp/backplot.xml' (error 2: No such file or directory)

afterwards heekscad segfaults.

A similar error occurs with the packages from LP-PPA-neomilium-heekscnc-devel/groovy (and libboost-python1.71.0 downloaded from Ubuntu), but in this case the undefined symbol reported is _Py_tracemalloc_config

Is there a way to run heekscad and heekscnc on Debian 11?

BR
Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions