curl-users
How to configure curl with libssh2
Date: Wed, 20 Aug 2014 13:58:39 +0930
I want to use curl to download files from a sftp server and if I am reading the documentation correctly, curl needs libssh2.
The curl version installed in OS X 10.9.4:
curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
As there is no libbssh2, I installed libssh2-1.4.3 and now I have new folders and various libssh2 files in /usr/local.
I guessed that I would have to install a new version of curl that includes libbssh2.
From the documentation I expect this curl to install in /usr/local, which would seem to match well with my libssh2 install.
I ran the command ./configure --with-darwinssl --with-libssh2
and got this error:
configure: error: libSSH2 libs and/or directories were not found where specified
I didn’t specify where to find "libSSH2 libs and/or directories”, assuming that /usr/local would be the default.
Neither the output nor the config.log indicate where configure was looking.
How do I fix this?
Am I on the right track anyway?
Peter Jenkins
State Library of South Australia
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-20