Bug 1228363

Summary: curl-config broken when i686 version installed on x86_64
Product: [Fedora] Fedora Reporter: benjaminmoody
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: kdudka, paul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: curl-7.40.0-5.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-24 15:59:16 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 benjaminmoody 2015-06-04 18:18:02 UTC
Description of problem:

On x86_64 Fedora, when libcurl-devel.i686 is installed but libcurl-devel.x86_64 is *not*, curl-config (--cflags/--libs) doesn't work.

(curl-config has been modified to use pkg-config, which on x86_64, only searches for .pc files in /usr/lib64/pkgconfig.)


Version-Release number of selected component (if applicable):

7.37.0-14.fc21


How reproducible:
Always


Steps to Reproduce:
1. rpm -e libcurl-devel.x86_64; yum install libcurl-devel.i686
2. curl-config --libs


Actual results:

Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found


Expected results:

-lcurl


Additional info:

"Perhaps I should", but since the curl cflags and libs are not arch-dependent, it's an extra annoyance that I should not have to deal with.  There is no reason to involve pkg-config here; --cflags is "" and --libs is "-lcurl" and that's all that needs to be said.

Comment 2 Fedora Update System 2015-06-17 18:04:38 UTC
curl-7.40.0-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/curl-7.40.0-4.fc22

Comment 3 Fedora Update System 2015-06-17 20:54:26 UTC
curl-7.40.0-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/curl-7.40.0-5.fc22

Comment 4 Fedora Update System 2015-06-21 00:05:53 UTC
Package curl-7.40.0-5.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing curl-7.40.0-5.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10155/curl-7.40.0-5.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-06-24 15:59:16 UTC
curl-7.40.0-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.