[Bug 311029] Re: curl and pycurl is not compiled with sftp support

Valentin Wittich 311029 at bugs.launchpad.net
Thu Jan 31 13:20:58 UTC 2019


Here is how to build curl with libssl support for Ubuntu 18.04. LTS:

sudo apt-get install build-essential debhelper libssh-dev
sudo apt-get source curl
sudo apt-get build-dep curl

cd curl-*

sudo patch < ~/Downloads/ubuntu_libssl.patch

sudo dpkg-buildpackage -uc -us
# -us    Do not sign the source package.
# -uc    Do not sign the .changes file. 

cd ..

sudo dpkg -i curl_*.deb
sudo dpkg -i libcurl3-*.deb
sudo dpkg -i libcurl3-gnutls_*.deb

sudo apt-mark hold curl
sudo apt-mark hold libcurl3
sudo apt-mark hold libcurl3-gnutls
# sudo apt-mark unhold <package-name> 

Hope that helps somebody.

** Patch added: "ubuntu_libssl.patch"
   https://bugs.launchpad.net/ubuntu/+source/curl/+bug/311029/+attachment/5234644/+files/ubuntu_libssl.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/311029

Title:
  curl and pycurl is not compiled with sftp support

Status in curl package in Ubuntu:
  Triaged
Status in curl package in Debian:
  Fix Released

Bug description:
  Binary package hint: curl

  Running curl --version, I see:
  Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
  SFTP is obviously missing, although it is supported by curl upstream
  The SFTP is also missing from python-pycurl, probably because libcurl doesn't have it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/311029/+subscriptions



More information about the foundations-bugs mailing list