我正在尝试在 Ubuntu 22 上构建 OpenSSL 1.1.0 并运行配置。
Operating system: x86_64-whatever-linux2
"glob" is not exported by the File::Glob module
Can't continue after import errors at ./Configure line 17.
BEGIN failed--compilation aborted at ./Configure line 17.
"glob" is not exported by the File::Glob module
Can't continue after import errors at ./Configure line 17.
BEGIN failed--compilation aborted at ./Configure line 17.
This system (linux-x86_64) is not supported. See file INSTALL for details.
我发现了这个提示,但即使我改变了它,我也不明白使用build.info后我应该做什么,任何人都可以帮助我吗?
在包含 openssl 的文件夹中输入命令:
grep -nr "'File::Glob' => qw/glob/"
在所有地方,将其替换为代码:
'File::Glob' => qw/:glob/
要完成安装,请输入命令:
./config --prefix=/opt/openssl --openssldir=/usr/local/ssl