curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: RHEL 8 not cooperating with libcurl, wants libcurl-minimal

From: Petr Pisar via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 11 Jul 2019 06:39:57 +0200

On Wed, Jul 10, 2019 at 06:42:59PM +0000, Mark Richter via curl-users wrote:
> I am porting our application from RHEL 7 to RHEL 8 and I get a build done,
> but I see this error when I try to install the rpm:
>
This is a question to RHEL support. Not for cURL developers. They do not
provide packages for RHEL.

> $ sudo yum install /home/mrichter/ss8/rpm/RPMS/x86_64/solar_secure-serverlock_cli-1.0.3.1020-0.x86_64.rpm
[...]
> Error:
> Problem: package solar_secure-serverlock_cli-1.0.3.1020-0.x86_64 requires libcurl-minimal >= 7.61.1-8, but none of the providers can be installed
> - package libcurl-minimal-7.61.1-8.el8.i686 conflicts with libcurl provided by libcurl-7.61.1-8.el8.x86_64
> - package libcurl-minimal-7.61.1-8.el8.x86_64 conflicts with libcurl provided by libcurl-7.61.1-8.el8.x86_64
> - problem with installed package libcurl-7.61.1-8.el8.x86_64
> - conflicting requests
solar_secure-serverlock_cli-1.0.3.1020-0.x86_64.rpm is buggy. It should not
specify dependency on "libcurl-minimal >= 7.61.1-8". It should specify
dependency on "libcurl.so.4()(64bit)" instead.

The reason is libcurl.so.4 library is packaged twice. Once in libcurl-minimal
package that provides cURL library without a support for fancy optional
features (like IDN or SSH), once in libcurl with all the features enabled.
The two packages provide the same file name, thus they cannot be installed at
the same time and thus they conflicts each to other.

If an application does not need the optional features, it just needs to depend
on "libcurl.so.4()(64bit)". If it needs the optional features, it needs to
specify a dependency on libcurl package.

I guess someone who created the solar_secure-serverlock_cli package manually
added the dependency on "libcurl-minimal >= 7.61.1-8" without knowing what he
does.

Please ask an author of solar_secure-serverlock_cli for the fix.

-- Petr

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2019-07-11