homebrew-kleopatra4mac
homebrew-kleopatra4mac copied to clipboard
App No Longer Loads/Startup. Unable to Open. Broken
Was working fine, especially after implementing fix stated in thread below. However now it no longer opens on my intel mac, icon just bounces and nothing happens and have to force close. Tried reinstall and numerous other attempts to try and get working, Think GPG updated and is thus causing an issue. Its GPG suite or some other underlying dependency that must have been updated via homebrew that is causing issue-thats my guess......Anyone else experiencing this catastrophic failure? Any help me much appreciated. Should note that GPGFrontend is. working greet, along with GPG Keychaiin.
Hope someone can gee the app working again, would be much appreciative for any help! Thanks and please share if you are experiencing same issue.
It works. Open the Console app and you can see errors when it starts. This is what ended up getting it working for me:
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Libkleo.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Mime.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5XmlGui.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5IconThemes.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5ItemModels.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Crash.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5DBusAddons.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libqgpgme.15.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libkleopatraclientgui.1.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libkleopatraclientcore.1.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libgpgmepp.6.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libgpgme.11.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5ConfigWidgets.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5I18n.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5WidgetsAddons.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Codecs.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5ConfigGui.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Auth.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5AuthCore.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5ConfigCore.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5WindowSystem.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5CoreAddons.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Completion.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5GuiAddons.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5ItemViews.5.dylib /usr/local/lib/
sudo ln -s /opt/homebrew/Cellar/kleopatra/22.07.80.reinstall/lib/libKF5Archive.5.dylib\n /usr/local/lib/
A bit of trial and error, a bit of prior knowledge. I think the only issue is that the libraries weren't available where it expected after I did a full reinstall.
Apologies for the long delayed followup. I got it working and even migrated my brew library with Kleoptra from Intel Macbok Pro to new M4 Macbook Pro and works GREAT! Thanks for your input even though I ended up solving it myself and not seeing it until now-I am certain it helped others solve the issue. Thanks!
@shredthaGNAR @brandon-fryslie can you advise how you did this so we can also learn?
yah sure ill try-been thru it all with both intel and ARM macs. check out this thread and see if that helps Note if it doesnt work right away one thing I found was to check the homebrew installaion folder of Kleopatra because sometimes it will change to kelopatra/27.xx.x.x.xxx.reinstall/........ like shown in the post above my last post-Brandon's post.
If those issues arent helping then issue is probably dbus not loading because it changed directories and doesnt bootup on startup so try this-it doesnt matter if on intel or ARM it accounts for that:
To start the session bus now and at login:
brew services start dbus
To start the system bus now and on boot, install and activate the included daemon:
sudo cp -f $(brew --prefix dbus)/org.freedesktop.dbus-system.plist /Library/LaunchDaemons
sudo launchctl bootstrap system /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
then just restart and hopefully after boots up try opening kleopatra and should be good. If not try uninstalling and then install dbus with
brew install dbus
let us know if not working still and.dont be afraid check out all the treads if not working. Solutions by myself and everyone are kinda scatered amongst few threads. Also can try to remove and install kleotrra and sometimes that will do it. But i think solutions I posted should do it for you, fingers crossed let us know.