GmSSL-Python icon indicating copy to clipboard operation
GmSSL-Python copied to clipboard

Alpine环境导入失败

Open lingfeng126 opened this issue 11 months ago • 2 comments

安装Gmssl和本python包后尝试导入报错

>>> import gmssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.11/site-packages/gmssl.py", line 17, in <module>
raise ValueError('Install GmSSL dynamic library from https://github.com/guanzhi/GmSSL')
ValueError: Install GmSSL dynamic library from https://github.com/guanzhi/GmSSL

lingfeng126 avatar Dec 27 '24 08:12 lingfeng126

find_library("gmssl") 找不到动态库, 怀疑是alpine环境不存在ld, ldconfig等命令导致. Python文档说明

lingfeng126 avatar Dec 27 '24 08:12 lingfeng126

@lingfeng126 我提了个 PR #26 完全解决依赖问题了,二进制包见:https://github.com/ferstar/GmSSL-Python/releases/tag/v2.2.2

Image

ferstar avatar Oct 18 '25 08:10 ferstar