-
-
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
error while loading shared libraries: libgtksourceview-3.0.so.1: cannot open shared object file: No such file or directory #1986
Comments
I wonder what we should do with the whole GTK dependency tree :/ |
This is the output of
|
Maybe this can help; it's for a |
@lucasfernog do you think there is some way to include a customized list of libs inside the bundle? Custom As far as I understand it should be as easy as adding a |
Yeah we can easily copy the shared libraries to the appimage, but seems like it's a little tricky for GTK. |
Oh okey... Any possible directions to follow would be greatly appreciated :) |
We need to change something to the Tauri bundler, nothing you can do directly on the app :/ |
I also tried reusing an appimage, that worked fine on ubuntu, on centos7 but hit this:
Here is a hacky-as-heck work around:
And that so far has fixed my libssl.so.1.1 from missing, though many more still are so I probably need that entire list added... |
Note, what I did is a hack (not recommended). The proper approach I think should be when using linuxdeploy, not appimagetool. There is some discussion about it here, though a little difficult to ascertain: Here is what ultimately worked for the OP:
|
I'll see if linuxdeploy fixes our problems. |
Describe the bug
After I package my tauri app in an
AppImage
and try to run it in another Ubuntu, I get this error:To Reproduce
Steps to reproduce the behavior:
AppImage
.AppImage
to another PC that doesn't havelibgtksourceview
installed.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):
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.
The text was updated successfully, but these errors were encountered: