美文网首页
Windows x64安装openssl1.1.1

Windows x64安装openssl1.1.1

作者: CodingCode | 来源:发表于2022-12-17 02:39 被阅读0次

    参考文档:

    https://wiki.openssl.org/index.php/Compilation_and_Installation#W64

    第一步:安装依赖工具

    1. 安装Strawberry Perl:https://strawberryperl.com/
    2. 安装Netwide Assembler (NASM):https://www.nasm.us/
    3. 当然还需要VIsual Studio 20XX,例如2017
    4. 下载openSSL-1.1.1: https://www.openssl.org/

    第二步:设置

    1. 打开"x64 Native Tools Command Prompt for VS 20XX"
      注意这里不要打开"Developer Command Prompt for VS 20XX",否则会出现类似错误:OpenSSL fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
    2. 设置PATH
    C:\> set PATH=C:\Program Files\NASM;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;%PATH%
    C:\> perl -v
    C:\> nasm -v
    

    第三步:安装

    C:\> cd openssl-1.1.1s
    C:\> perl Configure VC-WIN64A --prefix=c:\openssl1.1.1
    C:\> nmake
    C:\> nmake install
    

    相关文章

      网友评论

          本文标题:Windows x64安装openssl1.1.1

          本文链接:https://www.haomeiwen.com/subject/vbddqdtx.html