Hey all,
In this post, I'll be writing about a problem that took me a couple hours to resolve, especially since there was no other post that ran into the same problem.
So, this is the problem -- curl doesn't work:
$ curl
/usr/bin/curl.exe: error while loading shared libraries: cygcurl-4.dll: cannot open shared object file: No such file or directory
But I tried everything -- installing curl via setup.exe, apt-cyg install curl, etc. The source of the problem was that I was using the wrong terminal. I had a 64-bit machine, and I was using the 32-bit version of Cygwin. While working, it was incompatible in very important ways.
Even if you tried installing curl via setup.exe, you'd still have the wrong version of curl:
$ ls /bin | grep curl
curl.exe
cygcurl-3.dll
So you need to use the 64-bit Cygwin terminal, which will give you this output:
$ ls /bin | grep curl
curl.exe
cygcurl-4.dll
No comments:
Post a Comment