RfidResearchGroup / homebrew-proxmark3

Homebrew tap containing proxmark3 software/firmware
MIT License
48 stars 19 forks source link

Unable to install on Apple Silicon Mac #41

Open drego85 opened 8 months ago

drego85 commented 8 months ago

Hi, during installation through brew I get this error:

Last 15 lines from /Users/xxxxxx/Library/Logs/Homebrew/proxmark3/02.make:
      _Pm3PyRun_SimpleFileNoExit in cmdscript.o
      __wrap_delete_pm3 in pm3_pywrap.o
      __wrap_pm3_name_get in pm3_pywrap.o
      _pm3_swigregister in pm3_pywrap.o
      _pm3_swiginit in pm3_pywrap.o
      _SWIG_Python_NewPointerObj in pm3_pywrap.o
      _SWIG_Python_ConvertPtrAndOwn in pm3_pywrap.o
      ...
  "__Py_NotImplementedStruct", referenced from:
      _SwigPyObject_richcompare in pm3_pywrap.o
      _SwigPyObject_richcompare in pm3_pywrap.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [proxmark3] Error 1
make: *** [client/all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/rfidresearchgroup/homebrew-proxmark3/issues

Thanks you for the support!

B3rJmp commented 8 months ago

Having this same issue ^^ Any updates?

gl40 commented 7 months ago

me too ^^

nadja75 commented 7 months ago

Same problem for me too

cyba3r commented 7 months ago

Same Problem with M2 MacBook Pro

DisreputableCode commented 7 months ago

One workaround is to unlink python from homebrew, install proxmark3, then relink python; brew unlink python && brew install proxmark3 && brew link python

Johnnybyzhang commented 7 months ago

One workaround is to unlink python from homebrew, install proxmark3, then relink python; brew unlink python && brew install proxmark3 && brew link python

This solved my issue, you are a champ!

aidenfoxivey commented 6 months ago

One workaround is to unlink python from homebrew, install proxmark3, then relink python; brew unlink python && brew install proxmark3 && brew link python

How does this work? I'm assuming the issue is that Python on the Mac system is normally a native executable. Does this then run a non-native Python with Rosetta?