tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
81.86k stars 2.46k forks source link

[bug] Installation failed on macos13 #9934

Open TheBlindM opened 3 months ago

TheBlindM commented 3 months ago

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

tipsxBase commented 3 weeks ago

I solved it by doing brew install openssl

FabianLars commented 3 weeks ago

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.