In folder with openssl enter command:
grep -nr "'File::Glob' => qw/glob/"
And in all places, replace it with the code:'File::Glob' => qw/:glob/
To complete the installation enter command:
./config --prefix=/opt/openssl --openssldir=/usr/local/ssl