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

remove libcrypto.so.1.1 dependency from the server #910

Open
anchelnl opened this issue Nov 30, 2023 · 7 comments
Open

remove libcrypto.so.1.1 dependency from the server #910

anchelnl opened this issue Nov 30, 2023 · 7 comments

Comments

@anchelnl
Copy link

After installing 5.4.0 , I get on Ubuntu 22.04.3 LTS the error :
/opt/simplex/smp-server: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

on https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory there is a solution but not recommended.

Is there a way to avoid this problem?

@epoberezkin
Copy link
Member

please install openssl 1.1 to make it available

@anchelnl
Copy link
Author

OK I did https://gist.github.com/joulgs/c8a85bb462f48ffc2044dd878ecaa786 and it's working

SMP server v5.4.0.7
Server address: smp://HTuQjccELzATLNERawaW7jlJ9PIyqnI9XQm_jcoIy5g=:[email protected]

@epoberezkin
Copy link
Member

thank you!

@epoberezkin
Copy link
Member

passes the tests for me - do you want to have it public? if so, you can simply remove password, in which case contacts of users can see it, and possibly, use (although we didn't yet make it convenient).

If not, you should not share password publicly ;) - it's the part of the address after ":", your contacts won't see it via the app.

@anchelnl
Copy link
Author

anchelnl commented Nov 30, 2023

Yep removed password , it can be used in public . see also https://smp.anchel.nl ;)

@epoberezkin
Copy link
Member

The actual problem is that server code should not really depend on libcrypto, it's only needed in agent part.

We need to remove this dependency from the server.

@epoberezkin epoberezkin reopened this Dec 20, 2023
@epoberezkin epoberezkin changed the title libcrypto.so.1.1 remove libcrypto.so.1.1 dependency from the server Dec 20, 2023
@emil-theliberatededge
Copy link

emil-theliberatededge commented Dec 24, 2023

I face the same issue with self hosting the xftp server. In release 5.4.0.beta.X it starts fine. With later release versions including 5.4.0 and 5.5.0-beta.0 it won't start due to issues finding libcrypto.so.1.1.

I found the following lines in the logs that point to the root cause of the failure.

xftp-server: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

It turned out that I was using ubuntu 22.04, which introduced some issues with regard to the libssl package. The issue was resolved by following the preferred solution here.

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

3 participants