go-python / gopy

gopy generates a CPython extension module from a go package.
BSD 3-Clause "New" or "Revised" License
2.05k stars 113 forks source link

Gopy support for ARM based Macbooks #272

Open alexguo247 opened 2 years ago

alexguo247 commented 2 years ago

Hi, I am trying to use gopy to create a python package but I keep encountering the same error when running the last command in make build. The error I get is ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) I am wondering whether there is currently support for ARM based macbooks. I have tried adding -target arm64-apple-darwin to the CLANG in the Makefile, but am still getting this issue. Thanks for your time.

rcoreilly commented 2 years ago

sorry this is so late in responding: there is nothing about gopy that would be arm64 specific I think -- the tests seem to work fine on arm64 as far as I can tell.. perhaps there is some kind of interaction with the specific python package you're using?