You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running make ENABLE_PYTHON=1 make has thrown a bunch of „undefined references" from src/python.api.c.
Solved it by running: make USER_CFLAGS="-I /usr/include/python3.8 -lpython3.8" USER_LDFLAGS="-I /usr/lib/python3.8" ENABLE_PYTHON=1
I wonder if this problem can be solved by editing the Makefile, but I don't know how to do that.
The text was updated successfully, but these errors were encountered:
Not sure if this is backwards-compatible, but for Python 3.8, the python3-config --ldflags invokation in cfg/checks/python.mk needs to include --embed.
After running
make ENABLE_PYTHON=1
make has thrown a bunch of „undefined references" fromsrc/python.api.c
.Solved it by running:
make USER_CFLAGS="-I /usr/include/python3.8 -lpython3.8" USER_LDFLAGS="-I /usr/lib/python3.8" ENABLE_PYTHON=1
I wonder if this problem can be solved by editing the Makefile, but I don't know how to do that.
The text was updated successfully, but these errors were encountered: