简体   繁体   中英

how can i install older version of openssl on ubuntu?

I downloaded OpenSSL version 1.0.1 and I tried to install that with the below commands:

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

but when I enter make test I just receive this error:

POD document had syntax errors at /usr/bin/pod2man line 69.
make: *** [Makefile:595: install_docs] Error 255

This is /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;

I have error on line 69, my $stdin;

Can anybody help me to fix this? If you have a better idea for installing OpenSSL version 1.0.1 it will help, too.

Try this:

sudo apt install libssl1.0-dev

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM