簡體   English   中英

如何在 ubuntu 上安裝舊版本的 openssl?

[英]how can i install older version of openssl on ubuntu?

我下載了 OpenSSL 版本 1.0.1 並嘗試使用以下命令進行安裝:

$ ./config --prefix=/old-openssl-version-1.0.0g --openssldir=/old-openssl-version-1.0.1
$ make
$ make test

但是當我輸入 make test 我只是收到這個錯誤:

POD 文檔在 /usr/bin/pod2man 第 69 行有語法錯誤。
make: *** [Makefile:595: install_docs] 錯誤 255

這是 /usr/bin/pod2man:

use strict;
use warnings;

use Getopt::Long qw(GetOptions);
use Pod::Man ();
use Pod::Usage qw(pod2usage);

use strict;

# Clean up $0 for error reporting.
$0 =~ s%.*/%%;

# Insert -- into @ARGV before any single dash argument to hide it from
# Getopt::Long; we want to interpret it as meaning stdin.
my $stdin;
@ARGV = map { $_ eq '-' && !$stdin++ ? ('--', $_) : $_ } @ARGV;

我在第 69 行有錯誤, my $stdin;

有人可以幫我解決這個問題嗎? 如果您對安裝 OpenSSL 版本 1.0.1 有更好的想法,它也會有所幫助。

嘗試這個:

sudo apt install libssl1.0-dev

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM