-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Error while loading shared libraries: libheif.so.1 #810
Comments
Looks heif that library is dynamically loaded from OS(I expected that it will be built into binary, but I was wrong ¯\_(ツ)_/¯) The problem only happens with prebuilt binaries which use czkawka/.github/workflows/linux.yml Line 45 in e20f30c
App manually compiled without this option should work fine only with GTK 4 libraries installed |
Does this mean that everyone who wants to run it on Linux must have that library installed (btw, which one exactly?), or manually build it? However, I do not have the Rust building tools installed on my machine, so I cannot build it (and I believe many users will be in the same situation), so probably binaries that can be executed without any dependencies should be provided as well. Moreover, I discovered that the same problem happens with the GUI. Therefore, you cannot run Czkawka at all if you do not have that library or do not manually build it. |
You can download from actions binary without heif support - https://github.com/qarmin/czkawka/actions/runs/2883469684 (czkawka_gui-Linux-1.60.0 and czkawka_cli-Linux-1.60.0 ) czkawka/.github/workflows/linux.yml Line 35 in d3e7c2d
|
Thank you for your suggestion. I downloaded, extracted and tried to run the cli (
I have updated my OS (and all the packages) to their latest versions, but I still get that same error. Any other suggestions? |
Czkawka require glibc which is available on Ubuntu 22.04 or similar, so for me looks that this error is completely normal. |
I have that library, as shown in the error message (you can see the path to it there). This is the package in the latest stable version of Debian (Ubuntu is based on Debian): Can this be the problem?
I can confirm that in v5.0.2 the problem mentioned in my first message disappeared. |
I experience the same issue when using macOS:
libheif is installed:
Looks like the CLI binary is looking in a different folder than where it is installed. |
Hello.
returns:
There should be workaround possible with I believe, there can be 2 real solutions:
|
Fast workaround should be:
in my case (I'm using macports). Before change:
After change:
|
I am trying to run
linux_czkawka_cli
on Linux, but I get the following error:Do you know what I need to run it?
In the documentation there is written:
But this seems to be false.
And the funniest part is that I do not even need to run it on images!
(I only need the "Empty Directories" functionality and probably the "Duplicate Finder" one)
The text was updated successfully, but these errors were encountered: