[bug-notifications] [curl 0004847]: Can SSH support be added to curl?

Mantis Bug Tracker noreply at opencsw.org
Thu Oct 20 17:49:39 CEST 2011


The following issue has been set as RELATED TO issue 0004848. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4847 
====================================================================== 
Reported By:                jpassmore
Assigned To:                dam
====================================================================== 
Project:                    curl
Issue ID:                   4847
Category:                   other
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2011-10-20 17:33 CEST
Last Modified:              2011-10-20 17:49 CEST
====================================================================== 
Summary:                    Can SSH support be added to curl?
Description: 
Please add SSH/SFTP support to curl.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0004848 libcurl-feature.so.4 is linked against ...
====================================================================== 

---------------------------------------------------------------------- 
 (0009349) dam (administrator) - 2011-10-20 17:44
 https://www.opencsw.org/mantis/view.php?id=4847#c9349 
---------------------------------------------------------------------- 
The problem is slightly subtle: SSH/SFTP is actually in 
  libcurl4_feature     CSWlibcurl4-feature  7.21.6,REV=2011.04.29     
409.8 KB
which can be installed as aux-library which is used automatically instead
of the minimal-feature one if installed. However, I just noticed there is a
linkage problem where libcurl-feature.so.4 links to libfbopenssl.so instead
of libfbopenssl.so.0 leading to an unresolvable linkage meaning the feature
lib is not used:
  unstable9s# ldd -r /opt/csw/lib/libcurl-feature.so.4
        libfbopenssl.so =>       /opt/csw/lib/sparcv8/libfbopenssl.so

This can be circumvented by installing the dev package:
  libfbopenssl_dev     CSWlibfbopenssl-dev  0.0.4,REV=2011.07.09        
2.5 KB

After this the feature lib is correctly used:

unstable9s# curl --version
curl 7.21.6 (sparc-sun-solaris2.9) libcurl/7.21.6 OpenSSL/0.9.8r zlib/1.2.5
c-ares/1.7.4 libidn/1.22 libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile NTLM SPNEGO SSL libz 

Please use this workaround for now until libcurl4-feature is fixed.



More information about the bug-notifications mailing list