Bug 579619 - libcurl RPM needs to depend on a newer version of libssh2
Summary: libcurl RPM needs to depend on a newer version of libssh2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-06 04:30 UTC by Daphne Shaw
Modified: 2010-04-27 02:15 UTC (History)
2 users (show)

Fixed In Version: curl-7.19.7-7.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-27 02:15:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daphne Shaw 2010-04-06 04:30:47 UTC
Description of problem:

The libcurl RPM has a dependency on libssh2.  However, it does not specify which version, which allows someone to install libcurl-devel-7.19.7-5.fc11.x86_64 alongside libssh2-1.0-2.fc11.x86_64.rpm.  This combination will not work.  

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

libcurl-devel-7.19.7-5.fc11.x86_64

How reproducible:

Install libcurl-devel-7.19.7-5.fc11.x86_64 alongside libssh2-1.0-2.fc11.x86_64.rpm and try to build anything using libcurl.

Actual results:

/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_init'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_free'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_readfile'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_check'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_session_hostkey'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_writefile'
/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../lib64/libcurl.so: undefined reference to `libssh2_knownhost_add'

Expected results:

No errors :)

Additional info:

This works fine if I upgrade libssh2 to libssh2-1.2.4-1.fc11.x86_64.  The issue is just that the libcurl RPM should have a dependency on the proper version of libssh2.

Comment 1 Kamil Dudka 2010-04-06 07:57:02 UTC
Thank you for filling the bug!

The problem was caused by a nonsense rebase of libssh2 in Fedora 11, not far from EOL.  As it hadn't been anyhow discussed first, I had no chance to prepare libcurl package for it.  The explicit dependency has been already present in Fedora 12 since its rawhide phase.

I'll just add the dependency to Fedora 11 libcurl and submit as update.

Comment 2 Fedora Update System 2010-04-06 11:45:05 UTC
curl-7.19.7-7.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/curl-7.19.7-7.fc11

Comment 3 Fedora Update System 2010-04-09 01:33:34 UTC
curl-7.19.7-7.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update curl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/curl-7.19.7-7.fc11

Comment 4 Fedora Update System 2010-04-27 02:15:50 UTC
curl-7.19.7-7.fc11 has been pushed to the Fedora 11 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.