Describe the bug
After I package my tauri app in an AppImage and try to run it in another Ubuntu, I get this error:
app: error while loading shared libraries: libgtksourceview-3.0.so.1: cannot open shared object file: No such file or directory
To Reproduce
Steps to reproduce the behavior:
- Build your tauri app into an
AppImage.
- Download that
AppImage to another PC that doesn't have libgtksourceview installed.
- Try to run the
AppImage in a terminal.
I've tried with both my app (it uses the Vue CLI plugin) and the vue example, same result in both cases.
I have also tried with Rust 1.52.1, with the same result.
Expected behavior
Tauri packages all the necessary libraries inside the AppImage so that the end users don't need to install them.
Platform and Versions (please complete the following information):
launcher@0.1.0 tauri
tauri "info"
Operating System - Ubuntu, version 20.04 X64
Node.js environment
Node.js - 16.3.0
@tauri-apps/cli - 1.0.0-beta.1 (outdated, latest: 1.0.0-beta.2)
@tauri-apps/api - 1.0.0-beta-rc.3
Global packages
npm - 7.15.1
yarn - 1.22.5
Rust environment
rustc - 1.55.0-nightly
cargo - 1.54.0-nightly
App directory structure
/node_modules
/target
/.cargo
/.git
/public
/src
/tests
/src-tauri
App
tauri.rs - 1.0.0-beta.1
build-type - bundle
CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - Set automatically by Vue CLI plugin
devPath - Set automatically by Vue CLI plugin
framework - Vue.js (Vue CLI)
bundler - Webpack
Additional context
Add any other context about the problem here.
Describe the bug
After I package my tauri app in an
AppImageand try to run it in another Ubuntu, I get this error:To Reproduce
Steps to reproduce the behavior:
AppImage.AppImageto another PC that doesn't havelibgtksourceviewinstalled.AppImagein a terminal.I've tried with both my app (it uses the Vue CLI plugin) and the vue example, same result in both cases.
I have also tried with Rust 1.52.1, with the same result.
Expected behavior
Tauri packages all the necessary libraries inside the
AppImageso that the end users don't need to install them.Platform and Versions (please complete the following information):
Operating System - Ubuntu, version 20.04 X64
Node.js environment
Node.js - 16.3.0
@tauri-apps/cli - 1.0.0-beta.1 (outdated, latest: 1.0.0-beta.2)
@tauri-apps/api - 1.0.0-beta-rc.3
Global packages
npm - 7.15.1
yarn - 1.22.5
Rust environment
rustc - 1.55.0-nightly
cargo - 1.54.0-nightly
App directory structure
/node_modules
/target
/.cargo
/.git
/public
/src
/tests
/src-tauri
App
tauri.rs - 1.0.0-beta.1
build-type - bundle
CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - Set automatically by Vue CLI plugin
devPath - Set automatically by Vue CLI plugin
framework - Vue.js (Vue CLI)
bundler - Webpack
Additional context
Add any other context about the problem here.