Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

pip package lacks support for apple M1/arm64e #20

@psifertex

Description

@psifertex
  File "go.py", line 1, in <module>
    import pygore
  File "/Users/jwiens/Library/Python/3.8/lib/python/site-packages/pygore/__init__.py", line 5, in <module>
    from .lib import CompilerVersion, Function, Method, Package, GoFile,\
  File "/Users/jwiens/Library/Python/3.8/lib/python/site-packages/pygore/lib.py", line 5, in <module>
    import pygore.internal as internal
  File "/Users/jwiens/Library/Python/3.8/lib/python/site-packages/pygore/internal.py", line 21, in <module>
    lib = cdll.LoadLibrary(os.path.dirname(__file__) + '/' + libFile)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/jwiens/Library/Python/3.8/lib/python/site-packages/pygore/libgore.dylib, 0x0006): tried: '/Users/jwiens/Library/Python/3.8/lib/python/site-packages/pygore/libgore.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/libgore.dylib' (no such file), '/usr/lib/libgore.dylib' (no such file)```

Can always build it manually so not a show-stopper but figured I'd file this to track it for now. Best solution would be to build as a fat mach-o with support for both architectures. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions