Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Version 5.0.0 crash on startup, GTK4 is missing? #789

Closed
alexislefebvre opened this issue Jul 28, 2022 · 3 comments · Fixed by #795
Closed

Version 5.0.0 crash on startup, GTK4 is missing? #789

alexislefebvre opened this issue Jul 28, 2022 · 3 comments · Fixed by #795

Comments

@alexislefebvre
Copy link
Contributor

alexislefebvre commented Jul 28, 2022

I use Ubuntu 20.04.4.

I downloaded the 5.0.0 release but a dependency is missing:

cd /tmp/
curl --location https://github.com/qarmin/czkawka/releases/download/5.0.0/linux_czkawka_gui -o /tmp/linux_czkawka_gui
chmod +x ./linux_czkawka_gui
./linux_czkawka_gui
[…]
linux_czkawka_gui: error while loading shared libraries: libgtk-4.so.1: cannot open shared object file: No such file or directory

I tried to install the dependencies but it didn't work:

sudo apt install libgtk-4-dev ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgtk-4-dev

It looks like libgtk-4-dev only exists on Ubuntu 21.10+: https://packages.ubuntu.com/search?keywords=libgtk-4-dev

So people which use Ubuntu 21.10+ can use czkawka 5.0.0, the others have to use 4.1.0.

@qarmin
Copy link
Owner

qarmin commented Jul 28, 2022

Yes, this is expected,
As workaround to use 5.0.0 version, flatpak build is required which allows to install app on older OS(not released yet)

@alexislefebvre
Copy link
Contributor Author

Thanks for your answer, we should add a note about the versions here: https://github.com/qarmin/czkawka/blob/master/instructions/Installation.md#precompiled-binaries

@alexislefebvre
Copy link
Contributor Author

Thanks for updating the README. Upgrade from Ubuntu LTS 20.04 to 22.04 will be proposed next week, when Ubuntu 22.04.1 will be released. So most users should be able to upgrade and get GTK4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants