Home > Mobile >  spl-token: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No s
spl-token: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No s

Time:05-30

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

CodePudding user response:

That's exactly the source of the error. People have not had easy success with the library available from snap since you need to tell your system to look there. Assuming you're on Ubuntu, you can install this instead with:

sudo apt-get install libssl1.1

CodePudding user response:

I get the exact same error as you OP, same also when trying Jon C's solution. Any luck finding a way around this?

  • Related