[bug] Installation failed on macos13
Describe the bug
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: T-Shell [6385]
Path: /Applications/T-Shell.app/Contents/MacOS/T-Shell
Identifier: com.theBlind.tShell-Plus
Version: 1.0.0 (20240531.055531)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-05-31 21:57:06.1878 +0800
OS Version: macOS 13.4 (22F66)
Report Version: 12
Anonymous UUID: C6198214-72BD-E5F0-0402-BAB7D2D44842
Time Awake Since Boot: 6400 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libssl.3.dylib
Referenced from: <F0B14B70-34E2-3A48-B6B8-BE8ADDC0ACAB> /Applications/T-Shell.app/Contents/MacOS/T-Shell
Reason: tried: '/opt/homebrew/*/libssl.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/*/libssl.3.dylib' (no such file), '/opt/homebrew/*/libssl.3.dylib' (no such file)
(terminated at launch; ignore backtrace)
Reproduction
No response
Expected behavior
No response
Full tauri info output
tauri 1.5
Stack trace
No response
Additional context
No response
I solved it by doing
brew install openssl
iirc in a similar issue the dev had to uninstall brew's openssl before building the app so that this error wouldn't show on the enduser's system. I'm sure there's a better way to tell the compiler to not use brew's openssl lib like this though.
Either way, we need more info here. Like how you're building your app and especially what's using openssl.
iirc in a similar issue the dev had to uninstall brew's openssl before building the app so that this error wouldn't show on the enduser's system. I'm sure there's a better way to tell the compiler to not use brew's openssl lib like this though.
Either way, we need more info here. Like how you're building your app and especially what's using openssl.
Hey @FabianLars in my case I use git2 crate which depends on openssl-sys.
I build and bundle using this command:
tauri build --bundles app,dmg --target aarch64-apple-darwin
While it runs on my machine, end users get the above error i.e.
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libssl.3.dylib