Bug 488895
Summary: | libcurl depends on libssh2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pete Zaitcev <zaitcev> |
Component: | curl | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | jnovy, kdudka, pknirsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 7.19.4-2.fc10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-03-09 22:44:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pete Zaitcev
2009-03-06 04:42:49 UTC
At first glance I can't see any dependency of libcurl headers on libssh2 headers. Which application are you building? Could you please attach the failing autoconf test? Pete, please attach the config.log to let us have a look what happenned. I added the libssh2-devel dependency to libcurl-devel so it should be fixed. But I'm curious what failed as well. curl-7.19.4-2.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/curl-7.19.4-2.fc10 curl-7.19.4-2.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/curl-7.19.4-2.fc9 I removed libssh2-devel and found that I cannot reproduce the problem. The libssh2 cannot be removed because there's a (necessary) dependency. So, I looked at the logs. The /var/log/yum says: Mar 05 08:47:57 Installed: libevent-devel-1.4.5-2.fc11.x86_64 Mar 05 08:48:19 Installed: db4-devel-4.7.25-11.fc11.x86_64 Mar 05 12:59:00 Updated: libcurl-7.19.4-1.fc11.x86_64 Mar 05 12:59:01 Updated: libcurl-7.19.4-1.fc11.i586 Mar 05 12:59:04 Installed: libcurl-devel-7.19.4-1.fc11.x86_64 Mar 05 14:39:41 Updated: libssh2-1.0-2.fc11.x86_64 Mar 05 14:39:41 Updated: libssh2-1.0-2.fc11.i586 Mar 05 14:39:42 Installed: libssh2-devel-1.0-2.fc11.x86_64 Mar 05 14:43:28 Updated: pcre-7.8-2.fc11.x86_64 Mar 05 14:43:30 Installed: pcre-devel-7.8-2.fc11.x86_64 The gap between 1 p.m and 2:40 p.m. is when I tried to figure why libcurl was unusable. I'm not used to understanding config.log, and the failure was quite a bit up from the tail end. IIRC the link failed because of libssh2_session_block_directions. I think the following actually happened: The libcurl-7.19.4-1.fc11 that I installed as a dependency for libcurl-devel needed a new libssh2, but did not require the right release. So, when linked against previously installed libssh2-0.18-8.fc11 it failed. Then, when I installed libssh2-devel, yum updated libss2 to libssh2-1.0-2.fc11. Like Kamil said, libssh2-devel is not necessary to build applications with librucl (but libssh2 is necessary to run them). So what I made Jindrich to do was incorrect. The correct fix would be for libcurl to require libssh2 >= 1.0, I suspect now. Currently, the dependency is automatic without a version: [root@niphredil zaitcev]# rpm -q --requires libcurl | grep ssh libssh2.so.1()(64bit) [root@niphredil zaitcev]# Yes, it makes sense. Thank you for investigating this! Please what's the application you tried to build? We need to verify that problem is really gone after fixing this correctly. git://git.kernel.org/pub/scm/daemon/distsrv/tabled.git Don't worry about setting it up to run, that may be convoluted. Also, I don't have a spec file yet. But the build should be just sh autogen.sh and then ./configure && make. curl-7.19.4-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. curl-7.19.4-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. I've tested it on F-10 and it works for me with libssh2-0.18-7.fc9.x86_64 and without libssh2-devel: # rpm -q libssh2 libssh2-devel libcurl libcurl-devel libssh2-0.18-7.fc9.x86_64 package libssh2-devel is not installed libcurl-7.19.4-2.fc10.x86_64 libcurl-7.19.4-2.fc10.i386 libcurl-devel-7.19.4-2.fc10.x86_64 ... checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.19.4 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes ... |