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.
Sounds like a good idea! I have fixed it per your suggestion: http://pkgs.fedoraproject.org/cgit/curl.git/commit/?id=88ed685 http://pkgs.fedoraproject.org/cgit/curl.git/commit/?id=3583a50 http://pkgs.fedoraproject.org/cgit/curl.git/commit/?id=6597f25
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
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
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).
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.