Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux sh安装后查看版本 报gmssl: error while loading shared libraries: libgmssl.so.3: cannot open shared object file: No such file or directory #1681

Open
luokun1995 opened this issue May 23, 2024 · 4 comments

Comments

@luokun1995
Copy link

查看/usr/local/gmssl/lib包下面存在libgmssl.so.3文件

@liuguangjun
Copy link

我也是报这个错,加了软链后

ln -s /usr/local/gmssl/lib/libgmssl.so.3 /usr/lib64/

报新的错误

./gmssl: error while loading shared libraries: /lib64/libgmssl.so.3: file too short

@Lenclove
Copy link

需要执行ldconfig以刷新shared library的缓存。另外如果不是安装在标准动态库搜索路径,需要手动添加搜索路径。

@guanzhi
Copy link
Owner

guanzhi commented Jun 5, 2024

编译安装完之后,执行gmssl找不到动态库确实让人困扰。GmSSL的最新版中已经逐步支持主流操作系统中的ld缓存自动更新功能,典型的Ubuntu Linux和CentOS 7.x经过了初步的测试。

如果你还存在这个问题,请提供你OS的详细版本号,GmSSL会尽量支持主流的OS。

@Dkrismile81
Copy link

编译安装完成之后,执行gmssl发现动态库确实让人困扰。GmSSL的最新版本中已经初步支持主干网络中的ld缓存自动更新功能,典型的Ubuntu Linux和CentOS 7.x经过了初步的测试。

如果您还存在这个问题,请提供您操作系统的详细版本号,GmSSL会尽量支持主流的操作系统。

我用的rock9.3, 编译安装完成之后,执行gmssl无法发现动态库,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants