Comments (6)
Have you already solved this bug?
from tauri.
Same problem.
from tauri.
see Ubuntu 24.04 LTS: error while loading shared libraries: libwebkit2gtk-4.0.so.37
sudo nano /etc/apt/sources.list.d/ubuntu.sources
add this as it shows:
jammy
jammy-security
then
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
npm run tauri dev
for my development env, this woks
from tauri.
see Ubuntu 24.04 LTS: error while loading shared libraries: libwebkit2gtk-4.0.so.37
sudo nano /etc/apt/sources.list.d/ubuntu.sources
add this as it shows: jammy jammy-security
then
sudo apt update sudo apt install libwebkit2gtk-4.0-dev npm run tauri dev
for my development env, this woks
for end user, use sudo apt install libwebkit2gtk-4.0
should be ok after add jammy and jammy-security
into /etc/apt/sources.list.d/ubuntu.sources
from tauri.
see Ubuntu 24.04 LTS: error while loading shared libraries: libwebkit2gtk-4.0.so.37
sudo nano /etc/apt/sources.list.d/ubuntu.sources
add this as it shows: jammy jammy-security
thensudo apt update sudo apt install libwebkit2gtk-4.0-dev npm run tauri dev
for my development env, this woks
for end user, use
sudo apt install libwebkit2gtk-4.0
should be ok after addjammy and jammy-security
into /etc/apt/sources.list.d/ubuntu.sources
This is a bit dirty. It is recommended to restore /etc/apt/sources.list.d/ubuntu.sources to its original state after installing libwebkit2gtk-4.0-dev.
on kububtu,when Double-click the deb package, will install the deb using the QApt graphical interface by default (i.e. qapt-deb-installer)
Double-click google-chrome-stable_current_amd64.deb 125.0.6422.112. It will originally prompt a dependency unsatisfied error in the QApt interface, but it can actually be installed using apt or dpkg
after changing /etc/apt/sources.list.d/ubuntu.sources and apt update
Double-clicking google-chrome-stable_current_amd64.deb 125.0.6422.112 does not prompt a dependency not satisfied error in the QApt interface, but displays that many dependencies need to be deleted.
These dependencies are necessary for the system, including the desktop environment, desktop keyboard and mouse input devices, input methods, etc. Many contents and some installed software will be deleted.
According to actual test, using apt to install this deb will automatically change to use the package in the server without causing problems.
Therefore the bug should be caused by the QApt graphical interface installation (i.e. qapt-deb-installer)
In addition, dpkg -i has not been tested. I donβt know whether apt install -f is required and whether it will cause problems.
from tauri.
Your workaround doesn't work:
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libdbus-glib-1-dev : Depends: libdbus-glib-1-2 (= 0.112-3) but 0.112-3build2 is to be installed
librsvg2-dev : Depends: librsvg2-2 (= 2.54.5+dfsg-1ubuntu2.1) but 2.58.0+dfsg-1build1 is to be installed
Depends: librsvg2-common (= 2.54.5+dfsg-1ubuntu2.1) but 2.58.0+dfsg-1build1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tested also on Kali and there is a conflict with libjpegturbo0. So now, it is unable to use tauri on latest Ubuntu LTS / Kali
from tauri.
Related Issues (20)
- [bug] [macOS] file drop on titlebar
- [bug] Webpack error on blank tauri project with nextJS HOT 1
- [feat] Add option to control compression mode and level for Linux bundles
- [feat] Integrate skia for UI processing on mobile/desktop apps in tauri 2.0 HOT 3
- [bug] Unhandled Promise Rejection: Scope not defined for URL HOT 2
- [bug] Tauri 2: iOS app's bundle identifier does not use tauri.conf.json HOT 5
- [bug] IOS Asset Validation error, missing storyboard? HOT 3
- [feat] Integrated browser engine configurable HOT 2
- [bug] app_data_dir directory is not created HOT 1
- [bug] Failed to set the http scope of plugins HOT 2
- [bug] There are problems with LogicalPosition and PhysicalPosition in v2 HOT 1
- [bug] pnpm/cargo tauri ios dev -> xcodebuild error: no destination and action build HOT 1
- #Please help me Nextjs fans, been getting this error in production but runs smoothly in development
- [bug] Unable to load custom URI scheme HOT 3
- [feat] an option to not create a start menu folder for nsis installer HOT 5
- [bug] There is an issue with the window dragging size in the v2 version. HOT 1
- [bug] thread 'main' has overflowed its stack (Windows 11 Tauri v2 beta) HOT 4
- [feat] Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file? HOT 1
- [feat] Avoid calling `convertFileSrc` twice.
- [bug] FileDialogBuilder accepts non-existing files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tauri.