On windows 10 when you get the follosing error running your ruby script
LoadError: Could not open library 'libcurl': The specified module could not be found.
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
you can solve the problem by downloading the latest curl binary for win x32 or x64
https://curl.haxx.se/download.html
(ex. https://curl.haxx.se/windows/dl-7.63.0/curl-7.63.0-win64-mingw.zip )
and copy the /bin/ folder from the zip to your [ruby installation path]/bin
In the case of the 64 bit version of curl also rename
libcurl-x64.dll
to
libcurl.dll
LoadError: Could not open library 'libcurl': The specified module could not be found.
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
you can solve the problem by downloading the latest curl binary for win x32 or x64
https://curl.haxx.se/download.html
(ex. https://curl.haxx.se/windows/dl-7.63.0/curl-7.63.0-win64-mingw.zip )
and copy the /bin/ folder from the zip to your [ruby installation path]/bin
In the case of the 64 bit version of curl also rename
libcurl-x64.dll
to
libcurl.dll
Comments
Post a Comment