gmssl编译安装出错解决

错误1

Operating system: x86_64-whatever-linux2 “glob” is not exported by the File::Glob module Can’t continue after import errors at ./Configure line 18. BEGIN failed–compilation aborted at ./Configure line 18. “glob” is not exported by the File::Glob module Can’t continue after import errors at ./Configure line 18. BEGIN failed–compilation aborted at ./Configure line 18. This system (linux-x86_64) is not supported. See file INSTALL for details

glob相关问题

This issue is due to the Perl package File::Glob, 一些简单的修改就能修复这个. 在 Configure文件和 test/build.info这个文件,

use if $^O ne "VMS", 'File::Glob' => qw/glob/;

改成

use if $^O ne "VMS", 'File::Glob' => qw/:glob/;

就解决了

错误2

gmssl: symbol lookup error: gmssl: undefined symbol: BIO_debug_callback, version OPENSSL_1_1_0d

安装好后运行gmssl会出错

运行命令

ldconfig

解决 但是运行openssl也会默认进入gmssl 暂时无解

猜你喜欢

转载自blog.csdn.net/weixin_45485719/article/details/107877000
今日推荐