spl-token:加载共享库时的错误:libssl.so.1.1:无法打开共享对象文件:没有这样的文件或目录

发布于 2025-02-01 03:28:19 字数 693 浏览 3 评论 0原文

我在我的AWS实例上有一个问题, 与任何ARG运行SPLE后,我会

在加载共享库时获得以下错误spl-token:错误:libssl.so.1.1:无法打开共享对象文件:没有这样的文件或目录

我想也许它与我的共享库有关,

所以运行后 ldconfig -p | Grep libssl

这是我所发现的,

        libssl3.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl3.so
        libssl.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.3
        libssl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so

我注意到没有libssl.so.1.1列出的,是否为错误说明?

因此,接下来我搜索了如何将libssl.so.1.1添加到共享libs, 我找到了一篇文章,说您必须编辑/etc/ld.so.conf.d/.conf并将路径添加到LIB。 因此,我创建了文件,并添加了路径/snap/core18/2344/usr/lib/x86_64-linux-gnu/libssl.so.1.1。

没有成功

Im having an issue on my aws instance,
After running spl-token with any arg, I get the following error

spl-token: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I thought that maybe it has somethin to do with my shared libraries,

so after running
ldconfig -p | grep libssl

This is what I get

        libssl3.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl3.so
        libssl.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.3
        libssl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so

What I notice is that there is no libssl.so.1.1 listed, does that account for the error?

So next I searched for how to add libssl.so.1.1 to the shared libs,
I found an article saying you have to edit /etc/ld.so.conf.d/.conf and add the path to the lib.
So I created the file and added the path /snap/core18/2344/usr/lib/x86_64-linux-gnu/libssl.so.1.1.

No success

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回忆凄美了谁 2025-02-08 03:28:19

我通过在本地而不是在EC2实例上运行所有内容来解决问题。我知道这不是解决问题的解决方案,而是考虑将环境切换为解决方案

I managed to fix the issue by running everything locally rather than on my ec2 instance. I know its not the solution to the problem, but perhaps consider switching the environment as a solution

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文