How do I install cURL on cygwin

How do I install cURL on cygwin (latest versions checked in setup - cyg complains missing .DLL)
There are other posts about this from 2011 but they do not have answers marked accepted (see here).

My Cygwin complains about the missing .DLL as follows:

/usr/bin/curl.exe: error while loading shared libraries: cygmetalink-3.dll: cannot open shared object file: No such file or directory 

I solve it with this steps:

create /usr/local/tmp directory
cd /usr/local/tmp
Download libmetalink3-0.1.2-1.tar.bz2 from ftp://mirrors.kernel.org/sourceware/cygwin/x86/release/libmetalink/libmetalink3/
bunzin libmetalink3-0.1.2-1.tar.bz2
cd /
tar xvf /usr/local/tmp/libmetalink3-0.1.2-1.tar
Now try run curl:

$ curl -V curl 7.29.0 (i686-pc-cygwin) libcurl/7.29.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.26 libssh2/1.4.2 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: Debug GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP Metalink
转载:http://stackoverflow.com/questions/17473705/how-do-i-install-curl-on-cygwin-latest-versions-checked-in-setup-cyg-complain

装好了,运行不了

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容