-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[bug] Error while loading shared libraries: libssl.so.1.1
#4470
Comments
Error while loading shared libraries: libssl.so.1.1
With @FabianLars' suggestion, I got rid of the
However, I believe this is only for debugging the issue. I need the |
I'm having the same problem. Went to test my build on a live session of 22.04 and it has the same error. I don't have anything in my allow list though, so I'm not sure what the issue actually is. This was also built using GitHub Actions (ubuntu-latest), so maybe it's a problem with that? It seemed to work fine when building locally. |
For reference here is the related discord thread: https://discord.com/channels/616186924390023171/990276501872181319 tldr: Ubuntu 2204 switched from openssl1.1 to openssl3.0 and they are not compatible with each other. The problem here is that if you built you app on an older version than 2204 (which you should), it won't run correctly on distros/distro-versions with openssl@v3. We basically have 2 ways to go here:
|
I ended up using the vendored version of openssl in cargo toml. |
So far you need a Linux standard base (LSB) to run some third party programs. Jus after installing LSB on your Linux everything should be ok to fix the problem. |
Describe the bug
The tauri app does not work on some Linux machines, complaining:
Error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I managed to work my way around via adding
openssl
withvendored
feature enabled incargo.toml
. However, it felt weird. Could there be a bug on the tauri side? It feels like I shouldn't even have to do this. My application does not need OpenSSL (there weren't any entry foropenssl
incargo.toml
, and it is working in macos&windows, and most of the linux machines).I'm distributing the application as
.deb
.For building the executable, I'm using
tauri/actions v0.3
This bug does not happen in my Ubuntu 22.04 (it is able to run it), but I heard about it only for some other Ubuntu machines
(including 22.04). Also, it is reproducable with Docker, using
ubuntu:latest
.Our application is
subspace-desktop
, here is the link to the repo: https://github.com/subspace/subspace-desktopReproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
build target was
ubuntu-latest
The text was updated successfully, but these errors were encountered: