Bug 1462184

Summary: curl broken with openssl-libs < 1.1.0f-1
Product: [Fedora] Fedora Reporter: Nikola Forró <nforro>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kdudka, paul, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: curl-7.54.1-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 12:31:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikola Forró 2017-06-16 11:52:58 UTC
Description of problem:
Updating curl to 7.54.1-1 while having openssl-libs < 1.1.0f-1 installed breaks everything using (lib)curl, including dnf.

Version-Release number of selected component (if applicable):
curl-7.54.1-1.fc27.x86_64
libcurl-7.54.1-1.fc27.x86_64

How reproducible:
always

Steps to Reproduce:
1. # rpm -q openssl-libs
openssl-libs-1.1.0e-1.fc27.x86_64
2. # rpm -q {,lib}curl
curl-7.53.1-3.fc27.x86_64
libcurl-7.53.1-3.fc27.x86_64
3. # dnf upgrade libcurl
4. # curl --help

Actual results:
curl: relocation error: /lib64/libcurl.so.4: symbol SSL_CTX_set_srp_username, version OPENSSL_1_1_0 not defined in file libssl.so.1.1 with link time reference

Expected results:
no error

Comment 1 Kamil Dudka 2017-06-16 16:54:30 UTC
Thank you for reporting the bug!  I will have a look on Monday when I am back from my vacation.  CC'ing the maintainer of openssl as it looks like the cause.  Its library/symbol versioning seems to be either insufficient, or not taken into account by the dependency scanner of rpmbuild.