Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing libayatana-appindicator as dynamic dependency in the Ach Linux package #137

Closed
Horgix opened this issue Jan 7, 2025 · 2 comments

Comments

@Horgix
Copy link
Contributor

Horgix commented Jan 7, 2025

🪲 Describe the bug

After installing the pomodorolm-bin package from the AUR on Arch Linux, running pomodorolm fails with:

thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libappindicator-sys-0.9.0/src/lib.rs:41:5:
Failed to load ayatana-appindicator3 or appindicator3 dynamic library
libayatana-appindicator3.so.1: cannot open shared object file: No such file or directory
libappindicator3.so.1: cannot open shared object file: No such file or directory
libayatana-appindicator3.so: cannot open shared object file: No such file or directory
libappindicator3.so: cannot open shared object file: No such file or directory
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: IOT instruction (core dumped)  pomodorolm

Indeed, the libayanata-appindicator library seems to be neither statically linked into the binary, nor depended upon by the Arch Linux PKGBUILD.

Installing libayatana-appindicator on the side properly allows pomodorolm to start.

I'm allowing myself to report it there considering that you also seem to be the maintained of the AUR package.

📑 To Reproduce

Steps to reproduce the behavior:

  1. Installing the pomodorolm-bin package from the AUR on Arch Linux without having installed the libayatana-appindicator package before for another reason.
  2. run pomodorolm
  3. See error

☑️ Expected behavior

I'd expect pomodorolm to start instead of crashing.

🖼️ Screenshots

Everything's in the above stacktrace 🙂

🧑‍💻 Desktop

Arch Linux

🍅 Pomodorolm information

How did you install pomodorolm?
Through aura

What version number are you using? (click on the top left menu, and the the ℹ️ icon at the bottom right)
v0.3.0

Horgix added a commit to Horgix/forked_pomodorolm that referenced this issue Jan 7, 2025
@vjousse
Copy link
Owner

vjousse commented Jan 7, 2025

Thanks a lot for the fix!

@vjousse vjousse closed this as completed in 7c5228e Jan 7, 2025
@vjousse
Copy link
Owner

vjousse commented Jan 7, 2025

New package has been pushed to aur.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants