coala / coala-bears

Bears for coala
https://coala.io/
GNU Affero General Public License v3.0
294 stars 580 forks source link

csvlint fails on AppVeyor due to missing libcurl.dll #2909

Open jayvdb opened 5 years ago

jayvdb commented 5 years ago
CSVLintBear: Discarded stderr: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/ffi-1.11.1-x64-mingw32/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library 'libcurl': The specified module could not be found.
 (LoadError)
.
Could not open library 'libcurl.dll': The specified module could not be found.
.
Could not open library 'libcurl.so.4': The specified module could not be found.
.
Could not open library 'libcurl.so.4.dll': The specified module could not be found.
abhishalya commented 5 years ago

Curl not installed? Or not added in path?

jayvdb commented 5 years ago

Curl not installed? Or not added in path?

https://www.appveyor.com/docs/windows-images-software/

However ffi and compilation based dependencies often need more than just 'is the dll in the PATH'. It needs to be the right version, and not conflict with a dll already loaded, and other problems.

Also this depends on https://github.com/brianmario/escape_utils , which needs a compiler, and it needs make, and its generated makefile fails on msys due to path problem C:\.. vs /c/...

This issue exists as my new Windows builds (PR soon) are not solving this problem.

jayvdb commented 5 years ago

c.f. https://github.com/brianmario/escape_utils/pull/75 for some other Windows compilation problems.