codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: Codelite was ended unexpectedly on macOS Monterey 12.6 (M1 Macbook)

Open MartinMohammed opened this issue 3 years ago • 0 comments

What happened?

After installing CodeLite through the provided instructions on the official website:

brew tap eranif/codelite
brew uninstall --cask codelite-official
brew install --cask codelite-official

# in order to avoid macOS errors about "damaged app can't be opened"...
xattr -cr /Applications/codelite.app/

https://docs.codelite.org/downloads/download/#macos

I ended up getting an error when I try to open the application. Termination reason: "Namespace DYLD, Code 1 Library missing Library not loaded: '/opt/homebrew/*/libssh.4.dylib'"

Referenced from: " '/Applications/codelite.app/Contents/MacOS/codelite'"

Version

16.0.2

Operating system

macOS

Steps to reproduce

In the terminal: 


brew tap eranif/codelite
brew uninstall --cask codelite-official
brew install --cask codelite-official

# in order to avoid macOS errors about "damaged app can't be opened"...
xattr -cr /Applications/codelite.app/

Open the application through finder program on macbook and start it.

Relevant log output

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: '/opt/homebrew/*/libssh.4.dylib'
Referenced from: '/Applications/codelite.app/Contents/MacOS/codelite'
Reason: tried: '/opt/homebrew/*/libssh.4.dylib' (no such file), '' (no such file), '' (no such file)
(terminated at launch; ignore backtrace)

MartinMohammed avatar Sep 15 '22 10:09 MartinMohammed