-
Notifications
You must be signed in to change notification settings - Fork 86
Release 0.18 crashes on Apple Silicon when hard-coded library paths are not found #276
Copy link
Copy link
Closed
Description
I have just downloaded release 0.18 (arm variant), but it crashes when I open it. This is the relevant part of a crash report:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libcrypto.1.1.dylib
Referenced from: /Applications/GitX.app/Contents/Frameworks/ObjectiveGit.framework/Versions/A/ObjectiveGit
Reason: tried: '/opt/homebrew/*/libcrypto.1.1.dylib' (no such file), '/usr/local/lib/libcrypto.1.1.dylib' (no such file), '/usr/lib/libcrypto.1.1.dylib' (no such file)
(terminated at launch; ignore backtrace)
If libcrypto is found, a similar crash happens if libopenssl is not found:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libssl.1.1.dylib
Referenced from: /Applications/GitX.app/Contents/Frameworks/ObjectiveGit.framework/Versions/A/ObjectiveGit
Reason: tried: '/opt/homebrew/*/libssl.1.1.dylib' (no such file), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
(terminated at launch; ignore backtrace)
For now, I have fixed the problem by symlinking those libraries (which I have under /opt/local) into /usr/local, but this is a very fragile solution. GitX should not rely on libraries that do not reside in system paths: those should be bundled within the app.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels