龙芯电脑编译安装openssl

摘要:
环境如下:操作系统:loongnix1.0 CPU:3A3000体系结构:mips64el1。默认情况下,Iongnix已安装1.0版openssl。您需要先卸载它。命令如下:rpm e--nodeps openssl2.下载安装包cd/opt/wgethttps://www.openssl.org/source/old/1.1.1/openssl-1.1.1f.tar.gztarxfopenssl-1.1.1

环境如下:

操作系统: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.1ln -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 2020built on: Wed May 19 03:07:23 2021UTC
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

免责声明:文章转载自《龙芯电脑编译安装openssl》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇解决SQL Server管理器无法连接远程数据库的问题(转)windows编译ffmpeg出错记录下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

php5.6安装

# yum --enablerepo=remi,remi-php56 install php-fpm php-common php-mysql php-opcache php-pear php-gd php-devel php-mbstring php-mcrypt php-cli php-pdo php-xml -y # yum --enablerepo...

esp8266物联网开发五:SSL保驾护航

说在前面 数据在网络上传输,如果是明文传输,肯定是不安全的,所以得将数据进行加密。现在主流的加密方式,就是利用SSL/TLS协议加密,其实SSL和TLS可以看做是一个协议,它运行在传输层和应用层之间的一层协议,通过将TCP/UDP传输的数据加密之后,再传送到另一端。这样数据就安全了。 现在的https传输,底层就是利用了SSL/TLS协议进行了加密。当然,...

javascript加密PHP解密---jsencrypt

今天偶然发现jsencrypt这玩意,之前做"直播室聊天"时 数据传输明文问题没解决; 一直苦苦寻找技术解决方案今天勉强找了个; 原理:javascript加密PHP解密; 完全依赖openssl; 一. openssl 是干嘛的 它集成了众多密码算法及实用工具 rs...

openssl多线程实例

本示例用多线程实现了一个ssl服务端和一个客户端。 服务端代码如下: #include <stdio.h> #include <stdlib.h> #include <memory.h> #include <errno.h> #ifndef _WIN32 #include <sys/types.h>...

vs2012编译openssl

 本篇介绍使用VS2012编译openssl。   目录:   1.准备工作   2.编译   3.参考资料 1.准备工作   Visual Studio 2012     openssl:openssl-1.0.2d.tar.gz ,https://www.openssl.org/   perl:Active Perl 或者Strawberry Perl...

ubuntu18.04 安装新版本openssl

ubuntu18.04 安装新版本openssl 首先我们应该知道ubuntu18.04内置了1.1.0g版本的openssl: 使用下面的apt命令更新Ubuntu存储库并安装软件包编译的软件包依赖项:sudo apt update sudo apt install build-essential checkinstall zlib1g-dev...