[英]how to install libcurl on windows 7 64bit
安装时出现以下错误:
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/json_web_token-0.3.2/lib/json_web_token.rb:36: warning: already initialized constant JWT
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/jwt-1.5.6/lib/jwt/json.rb:4: warning: previous definition of JWT was here rake aborted!
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.
D:/data/catarse/config/application.rb:8:in
'
D:/data/catarse/Rakefile:4:in
'
(See full trace by running task with --trace)
我绕过LoadError: Could not open library 'libcurl'
一种简单方法LoadError: Could not open library 'libcurl'
是:
从此处找到的一个软件包https://curl.haxx.se/download.html#Win64中获取libcurl.dll
,并将其放在PATH上。
(我只是将其放在\\ruby24\\bin\\
)
( 链接已更新,但最初指向的版本为7.40
)
有关更多详细信息,请参见以下问题的答案:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.