Skip to content
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

libwebkit2gtk-4.0.so.37: cannot open shared object file #17

Closed
gabrieletassoni opened this issue Feb 3, 2025 · 2 comments
Closed

libwebkit2gtk-4.0.so.37: cannot open shared object file #17

gabrieletassoni opened this issue Feb 3, 2025 · 2 comments

Comments

@gabrieletassoni
Copy link

Hi,
I'm using Ubuntu 24.10 and running the command from the zip release file returns the error:

$ ./CodeTimer-linux_x64 
./CodeTimer-linux_x64: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

I also tried to install the deb package: but this also returns a similar error:

$ sudo apt install ./CodeTimer_1.0.14_x64.deb 
[sudo] password for gabrieletassoni: 
Note, selecting 'codetimer' instead of './CodeTimer_1.0.14_x64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 codetimer : Depends: libwebkit2gtk-4.0-37 but it is not installable
Error: Unable to correct problems, you have held broken packages.

Also checked the availability of the package in the repositories:

$ apt-cache search libwebkit2gtk
libwebkit2gtk-4.0-doc - WebKitGTK documentation (transitional dummy package)
libwebkit2gtk-4.1-0 - Web content engine library for GTK
libwebkit2gtk-4.1-dev - Web content engine library for GTK - development files

And the 4.0 version is not available anymore (in the system the 4.1 version is already installed:

$ dpkg -l libwebkit2gtk-4.1-0
ii  libwebkit2gtk-4.1-0:amd64 2.46.5-0ubuntu0.24.10.1 amd64        Web content >

How to solve?
Thank you very much.

@owlysk
Copy link
Owner

owlysk commented Feb 3, 2025

Can you try this?
tauri-apps/tauri#9662 (comment)

libwebkit2gtk-4.0.so.37 is dependency, which need Neutralino.js. Please let me know, if this workaround works for you.

@gabrieletassoni
Copy link
Author

Hi,
it works for installation, thank you for the workaround, I also removed the line from sources.list after installing the software.
Now I test it in day by day use.

@owlysk owlysk closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants