Skip to content

Error on Mac M1 #7

Open
Open
@MiScCX

Description

@MiScCX

If I try to use DelphiFMX in Python I get this error:

not valid for use in process: Trying to load an unsigned library), '/usr/local/lib/libDelphiFMX.dylib'

Here is the full terminal dump:

>>> from delphifmx import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/lib/python3.9/site-packages/delphifmx/__init__.py", line 82, in <module>
    package = new_import()
  File "/opt/homebrew/lib/python3.9/site-packages/delphifmx/__init__.py", line 72, in new_import
    ld = loader.create_module(spec)
ImportError: dlopen(/opt/homebrew/lib/python3.9/site-packages/delphifmx/OSXARM64/libDelphiFMX.dylib, 0x0002): tried: '/opt/homebrew/lib/python3.9/site-packages/delphifmx/OSXARM64/libDelphiFMX.dylib' (code signature in <2D627531-CB8E-3D97-BE24-3045066492E7> '/opt/homebrew/lib/python3.9/site-packages/delphifmx/OSXARM64/libDelphiFMX.dylib' not valid for use in process: Trying to load an unsigned library), '/usr/local/lib/libDelphiFMX.dylib' (no such file), '/usr/lib/libDelphiFMX.dylib' (no such file)

Metadata

Metadata

Assignees

Labels

Awaiting FeedbackWaiting for feedback from submitter or others.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions