zoukankan      html  css  js  c++  java
  • 龙芯电脑编译安装openssl

    环境如下:

    操作系统:loongnix 1.0

    CPU:3A3000

    架构:mips64el

    1、默认loongnix已经安装openssl 1.0版本,需要先卸载,命令如下:

    rpm -e --nodeps  openssl

    2、下载安装包

    cd /opt/
    wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1f.tar.gz
    tar xf openssl-1.1.1f.tar.gz
    cd openssl-1.1.1f/

    3、配置编译

    cd /opt
    mkdir openssl
    ./Configure linux64-mips64 no-asm --prefix=/opt/openssl/openssl-1.1.1f  --openssldir=/opt/openssl/openssl-1.1.1f/ssl
    make
    make install

    4、建立软链接

    ln -s /opt/openssl/openssl-1.1.1f/bin/openssl /usr/bin/openssl
    ln -s /opt/openssl/openssl-1.1.1f/include/openssl /usr/include/openssl
    ln -s /opt/openssl/openssl-1.1.1f/lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1
    ln -s /opt/openssl/openssl-1.1.1f/lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1

    5、验证

    [root@localhost opt]# openssl version -a
    OpenSSL 1.1.1f  31 Mar 2020
    built on: Wed May 19 03:07:23 2021 UTC
    platform: linux64-mips64
    options:  bn(64,64) rc4(char) des(int) idea(int) blowfish(ptr) 
    compiler: gcc -fPIC -pthread -mabi=64 -Wall -O3 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DNDEBUG
    OPENSSLDIR: "/opt/openssl/openssl-1.1.1f/ssl"
    ENGINESDIR: "/opt/openssl/openssl-1.1.1f/lib/engines-1.1"
    Seeding source: os-specific
  • 相关阅读:
    RayTracing练习
    聚类方法总结
    Mysql、SqlServer和Oracle 添加修改删除字段
    gridview增加thead 和tbody
    数据库设计的三大范式
    c#+sql事务
    gridview应用
    DOS命令大全 IIS命令大全 SQL命令大全……
    TFS
    C#.NET官方类库Json序列化,反序列化
  • 原文地址:https://www.cnblogs.com/silent2012/p/14784428.html
Copyright © 2011-2022 走看看