guanzhi / GmSSL

支持国密SM2/SM3/SM4/SM9/SSL的密码工具箱
http://gmssl.org
Apache License 2.0
4.92k stars 1.64k forks source link

gmssl: symbol lookup error: /lib/libgmssl.so.3 #1452

Open Wendel9209 opened 1 year ago

Wendel9209 commented 1 year ago

[root@GMSSL]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core)

[root@GMSSL]# gmssl version GmSSL 3.1.0

[root@GMSSL]# gmssl sm2keygen -pass 123456 -out cakey.pem -pubout capub.pem gmssl: symbol lookup error: /lib/libgmssl.so.3: undefined symbol: getentropy

songhuashan commented 6 months ago

解决了吗

LazyBone1024 commented 2 months ago

same issue. Python 3.6 and 3.8. Does anyone offer solution?

yufqi commented 1 month ago

meet a similar issue, may helpful for you.

[root@node build]# /usr/local/bin/gmssl version /usr/local/bin/gmssl: error while loading shared libraries: libgmssl.so.3: cannot open shared object file: No such file or directory

find / -name libgmssl.so ln -s /usr/local/lib/libgmssl.so.3.1 /usr/lib64/libgmssl.so.3