LINK : fatal error LNK1181:cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib'

后端 未结 2 1520
不思量自难忘°
不思量自难忘° 2020-12-16 03:19

I have windows 7 - 64 bit with Visual studio 2013 ultimate. I am running npm install command and getting below errors:

npm info it worked if it ends with ok
         


        
相关标签:
2条回答
  • 2020-12-16 03:56

    Just install latest (but below 1.1) version of Windows installer for OpenSSL. direct links across the internet get broken. This is the download page of the official website: http://slproweb.com/products/Win32OpenSSL.html

    0 讨论(0)
  • 2020-12-16 04:07

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

    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 Windows\System32.

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

    And successively I've faced following problems installing ursa:

    • 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
    0 讨论(0)
提交回复
热议问题