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: Mark Richter via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 11 Jul 2019 18:11:35 +0000

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.

Thanks - I will see about getting support from 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.

I am the author of the program and rpm.

The dependencies are added using a scripted series of commands to extract the dependency from the ldd output and locate the packages which provide them. I suspect that this is the culprit, although I have tested it and a) it works fine on RHEL 7 and b) appears to produce the same output for RHEL 8, but something is obviously amiss.

I'll go and recheck that script more carefully.

Thanks for the info, and my apologies for the intrusion.

Mark
The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error, please notify the sender immediately and delete the message. Unless you are an addressee (or authorized to receive for an addressee), you may not use, copy or disclose to anyone this message or any information contained in this message. The unauthorized use, disclosure, copying or alteration of this message is strictly prohibited.

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-11