-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
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 with vendored feature enabled in cargo.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 for openssl in cargo.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-desktop
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
› OS: Mac OS 12.3.1 X64
› Node.js: 16.11.0
› npm: 8.0.0
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.24.3
› rustc: 1.60.0-nightly
› cargo: 1.60.0-nightly
› Rust toolchain: nightly-2022-02-15-aarch64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.0.0-rc.7
› @tauri-apps/api [NPM]: 1.0.0-rc.5
› tauri [RUST]: 1.0.0-rc.11,
› tauri-build [RUST]: 1.0.0-rc.9,
› tao [RUST]: 0.8.4,
› wry [RUST]: 0.16.2,
App
› build-type: bundle
› CSP: default-src https tauri 'self'; img-src 'self'; object-src 'none'; connect-src ws://localhost:9947/; script-src 'wasm-unsafe-eval' 'unsafe-eval' 'self'
› distDir: ../dist/pwa
› devPath: http://localhost:3009/
› framework: Vue.js (Quasar)
› bundler: Webpack
App directory structure
├─ dist
├─ node_modules
├─ .quasar
├─ src-pwa
├─ docs
├─ public
├─ .github
├─ src-tauri
├─ .git
├─ .vscode
├─ .idea
└─ srcStack trace
No response
Additional context
build target was ubuntu-latest