homebrew-proxmark3 icon indicating copy to clipboard operation
homebrew-proxmark3 copied to clipboard

Unable to install on Apple Silicon Mac

Open drego85 opened this issue 1 year ago • 7 comments

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!

drego85 avatar Mar 13 '24 15:03 drego85

Having this same issue ^^ Any updates?

B3rJmp avatar Mar 13 '24 23:03 B3rJmp

me too ^^

gl40 avatar Mar 19 '24 18:03 gl40

Same problem for me too

nadja75 avatar Mar 22 '24 16:03 nadja75

Same Problem with M2 MacBook Pro

cyba3r avatar Mar 23 '24 18:03 cyba3r

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

DisreputableCode avatar Mar 30 '24 06:03 DisreputableCode

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!

Johnnybyzhang avatar Apr 08 '24 15:04 Johnnybyzhang

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?

aidenfoxivey avatar Apr 30 '24 18:04 aidenfoxivey