Giter Site home page Giter Site logo

Comments (6)

piyunior avatar piyunior commented on June 8, 2024 3

Have you already solved this bug?

from tauri.

lucassmacedo avatar lucassmacedo commented on June 8, 2024

Same problem.

from tauri.

nacodermer avatar nacodermer commented on June 8, 2024

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.

nacodermer avatar nacodermer commented on June 8, 2024

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.

nacodermer avatar nacodermer commented on June 8, 2024

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

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.

adiantek avatar adiantek commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.