Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1228363 - curl-config broken when i686 version installed on x86_64
Summary: curl-config broken when i686 version installed on x86_64
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 21
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-06-04 18:18 UTC by benjaminmoody
Modified: 2015-06-24 15:59 UTC (History)
2 users (show)

Fixed In Version: curl-7.40.0-5.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-24 15:59:16 UTC
Type: Bug

Attachments (Terms of Use)

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):


How reproducible:

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:


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.

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.

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:
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.

Note You need to log in before you can comment on or make changes to this bug.