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
[Default] File "/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ctypes/__init__.py", line 376, in __init__
[Default] self._handle = _dlopen(self._name, mode)
[Default] ^^^^^^^^^^^^^^^^^^^^^^^^^
[Default] OSError: dlopen(/Users/andrewl/Library/Application Support/Binary Ninja/python311/site-packages/capstone/lib/libcapstone.dylib, 0x0006): tried: '/Users/andrewl/Library/Application Support/Binary Ninja/python311/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/andrewl/Library/Application Support/Binary Ninja/python311/site-packages/capstone/lib/libcapstone.dylib' (no such file), '/Users/andrewl/Library/Application Support/Binary Ninja/python311/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
The wheel or whatever ends up with a dylib only for x86_64 instead of arm64.
When you delete plugins, the dependencies aren't deleted. So you can verify by removing keypatch, navigating to ~/Library/Application Support/Binary Ninja/python311/site-packages, deleting capstone and capstone-5.0.1.dist-info, then command palette for "Install python3 module...", enter capstone. The directories will reappear and:
BinaryNinja Log during installation:
The wheel or whatever ends up with a dylib only for x86_64 instead of arm64.
When you delete plugins, the dependencies aren't deleted. So you can verify by removing keypatch, navigating to
~/Library/Application Support/Binary Ninja/python311/site-packages
, deletingcapstone
andcapstone-5.0.1.dist-info
, then command palette for "Install python3 module...", enter capstone. The directories will reappear and:Another test is to look how Binja actually installs stuff, how it invokes PIP:
We can then replicate this call outside of Binja and verify:
Capstone seems aware of this issue: Universal wheel for macOS contains only x86_64 build #2154.
The text was updated successfully, but these errors were encountered: