Skip to content

Error running on macOS Silicon #1

@nmalcolm

Description

@nmalcolm

After following the build instructions

mkdir hap/build
cd hap/build
cmake ..
make
cd ../..
pip3 install -r requirements.txt
$ ./dumper domain.com
Traceback (most recent call last):
  File "/Users/nathan/src/malifar/./dumper.py", line 22, in <module>
    from cache import HAPCache, HAPFastNSEC3Cache, HAPNSEC3Cache, MemCache
  File "/Users/nathan/src/malifar/cache.py", line 18, in <module>
    from hap.build.hap import HAP as hap
  File "/Users/nathan/src/malifar/hap/build/hap.py", line 10, in <module>
    from . import _hap
ImportError: dlopen(/Users/nathan/src/malifar/hap/build/_hap.so, 0x0002): tried: '/Users/nathan/src/malifar/hap/build/_hap.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/nathan/src/malifar/hap/build/_hap.so' (no such file), '/Users/nathan/src/malifar/hap/build/_hap.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions