Cannot install Ente Auth v4.3.6 due to libcurl.so.4(CURL_OPENSSL_4)
Description
I'm not able to install v4.3.6 RPM on Fedora 42 Workstation due to the following error:
nothing provides libcurl.so.4(CURL_OPENSSL_4)(64bit) needed by enteauth-4.3.6-437.x86_64 from @commandline
v4.3.5 installs normally as expected. libcurl-minimal package is installed by default.
Name : libcurl-minimal
Epoch : 0
Version : 8.11.1
Release : 4.fc42
Architecture : x86_64
Installed size : 663.7 KiB
Source : curl-8.11.1-4.fc42.src.rpm
From repository : fedora
Summary : Conservatively configured build of libcurl for minimal installations
URL : https://curl.se/
License : curl
Description : This is a replacement of the 'libcurl' package for minimal installations. It
: comes with a limited set of features compared to the 'libcurl' package. On the
: other hand, the package is smaller and requires fewer run-time dependencies to
: be installed.
Vendor : Fedora Project
Version
v4.3.6
Last working version
v4.3.5
What product are you using?
Ente Auth
What platform are you using?
Desktop - Linux
Have u tried installing the curl package?
I face the same issue and, yes, the curl package is already installed
Package "curl-8.11.1-4.fc42.x86_64" is already installed.
Have u tried installing the
curlpackage?
curl-8.11.1-4.fc42.x86_64 is already installed.
Note: This is from ChatGPT as I am a vibe coder.
First check the version by running this command: ldconfig -p | grep libcurl
If it outputs a version, then it's installed but not the correct OpenSSL variant.
Try installing this package:
Fedora: sudo dnf install libcurl-openssl and if that doesn't work then try this: sudo dnf install compat-libcurl4
OpenSUSE: sudo zypper install libcurl4-openssl1
Arch Linux: yay -S libcurl-compat
If your using fedora. Run this: dnf provides 'libcurl.so.4(CURL_OPENSSL_4)(64bit)' This will tell you exactly which package provides the stuff you need.
This may work
The most likely reason for this issue is, that the project is not built on Fedora, but on a different distribution, e.g. Ubuntu, and then repackaged as an rpm. During this process RPM adds a dependency to libcurl.so.4(CURL_OPENSSL_4)(64bit), which doesn't exist in Fedora.
This is how I got it to work. It isn't perfect, but it runs (for now), Run (run -Uhv flags if this isn't your first install and you want to update)
sudo rpm -ihv ente-auth-v4.3.6-x86_64.rpm
As this was my first install it listed all of the missing dependencies, including the libcurl.so.4 package.
error: Failed dependencies:
libappindicator is needed by enteauth-4.3.6-437.x86_64
libayatana-appindicator3.so.1()(64bit) is needed by enteauth-4.3.6-437.x86_64
libayatana-ido3-0.4.so.0()(64bit) is needed by enteauth-4.3.6-437.x86_64
libayatana-indicator3.so.7()(64bit) is needed by enteauth-4.3.6-437.x86_64
libcurl.so.4(CURL_OPENSSL_4)(64bit) is needed by enteauth-4.3.6-437.x86_64
libjawt.so()(64bit) is needed by enteauth-4.3.6-437.x86_64
libsqlite3x is needed by enteauth-4.3.6-437.x86_64
I installed all of the missing dependencies. Except for the libcurl.so.4 package, as I couldn't find a corresponding source on Fedora,
sudo dnf install libappindicator libayatana-appindicator3 libsqlite3x libsqlite3x java-latest-openjdk
As I wasn't able to resolve the missing dependency for libcurl.so.4. I ran the installer with the --nodeps flag
install (run -Uhv flags if this isn't your first install and you want to update)
sudo rpm -ihv --nodeps ente-auth-v4.3.6-x86_64.rpm
Any idea when this will be looked at? Have become super dependent on Auth and this locks me out of updates.
For my own projects where I am targeting packages for different systems, I use FPM which makes this process easier as a recommendation. Packages can be built on any nix OS.
So after doing some digging, cause this issue has been bugging me as a Fedora user. It seems that the libcurl package provided by Fedora does technically provide libcurl.so.4(CURL_OPENSSL_4)(64bit). But it does not it show it explicitly, so installation fails when trying to find that library flag.
This could be fixed by trying:
- an alternative build solution (e.g. FPM as suggested by @jwhipp )
- setting up a separate build workflow on a fedora container so that it builds with the Fedora provided
libcurl - Or adding a flag to the make_config.yaml, like:
%global __requires_exclude ^libcurl.so.4\\(CURL_OPENSSL_4\\).*that would be appended to the spec file
I have never built a Flutter app, or packaged an app. So I am completely out of my depth here.
This is very frustrating and only occurs on GNOME. Under KDE it is fine. Trying to install it, just gives:
sudo rpm -ihv ente-auth-v4.4.4-x86_64.rpm
error: Failed dependencies:
libcurl.so.4(CURL_OPENSSL_4)(64bit) is needed by enteauth-4.4.4-448.x86_64
libjawt.so()(64bit) is needed by enteauth-4.4.4-448.x86_64
I can't even launch the AppImage under GNOME as it gives:
(io.ente.auth:581176): Gdk-CRITICAL **: 16:07:23.777: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed
** (io.ente.auth:581176): WARNING **: 16:07:23.777: Failed to initialize GLArea: No GL implementation is available
** (io.ente.auth:581176): WARNING **: 16:07:23.783: gtk.dart: failed to call method: No engine to send to
or
No GL implementation is available.
The flatpak version refuses to launch with: enteauth: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/share/enteauth/lib/libsentry.so)
No workaround has been successful on my end. And some months ago it worked perfectly as a flatpak.
Thanks @jwhipp and @FusionStreak , fpm seems to be straightforward and working, so we are switching to it, will be available soon: #7835
Please try this build and let us know if it works for you: https://github.com/ente-io/ente/releases/tag/auth-v4.4.11-beta
I can confirm installation was successful on my machine, without requiring any workarounds. Used KDE Plasma Discover for the install.
System info:
Discover: 6.5.2
Fedora Linux 43 (KDE Plasma Desktop Edition) (Wayland)
KDE Frameworks: 6.19.0
Qt: Using 6.10.0 and built against 6.10.0
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.7-300.fc43.x86_64
Can confirm the beta RPM worked for me.
This can be closed then when the next version is released, till then users can use beta build.