且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

链接:致命错误 LNK1181:无法打开输入文件 'C:OpenSSL-Win64liblibeay32.lib'

更新时间:2021-09-01 23:41:06

我遇到了同样的问题,答案是阅读文档.

I've had the same trouble and the answer is to read the documentation.

OpenSSL(正常,不是轻量级)与您的 Node.js 具有相同的位数安装.必须在特定安装中安装 OpenSSL目录(C:OpenSSL-Win32 或 C:OpenSSL-Win64)如果您收到错误:找不到指定的模块.,从OpenSSL bin 目录到此模块的 bin 目录,或WindowsSystem32.

OpenSSL (normal, not light) in the same bitness as your Node.js installation. OpenSSL must be installed in the a specific install directory (C:OpenSSL-Win32 or C:OpenSSL-Win64) If you get Error: The specified module could not be found., copy libeay32.dll from the OpenSSL bin directory to this module's bin directory, or to WindowsSystem32.

一个问题 - 您需要 1.0.2(在 此处).1.1.0 版本没有 libea32.dll.

One problem with this - you need 1.0.2 (got here). Version 1.1.0 has no libea32.dll.

然后我在安装 ursa 时遇到了以下问题:

And successively I've faced following problems installing ursa:

  • 节点-gyp.认为这不是真正的问题,但在 这个
  • 编译器.我有 VS2010express 和再次错误,但现在安装 ursa MSBUILD : error MSB3428: 无法加载 Visual C++ 组件VCBuild.exe尝试了一些食谱但只有在 VS2013express 安装后,我才成功,但又出现了另一个错误
  • SSL.使用 Open-SSL 64 1.0.2
  • node-gyp. Think it was not a real problem, but rebuilt was successful after this
  • compiler. I had VS2010express and again error, but now when installing ursa MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe Tried out some recipes but only after VS2013express installation I've gor success and another error
  • SSL. Use Open-SSL 64 1.0.2