Reputation: 557
So I am trying to install Solar2D (formerly known as Corona SDK) to make a mobile game. After installing the dependencies, when I run Solar 2D I get the following error:
/home/user/CoronaSimulator/CoronaSimulator: error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory
I tried installing libwebkitgtk using sudo apt-get install libwebkitgtk-1.0-0
but I get the following message in Terminal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libwebkitgtk-1.0-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libwebkitgtk-1.0-0' has no installation candidate
Upvotes: 29
Views: 94469
Reputation: 526
Following the steps here fixed the issue for me
Open terminal and write this:
sudo nano /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
sudo apt-get update
sudo apt-get install libwebkitgtk-1.0-0
-> if you are using Vega and jdk of 64 bits
sudo apt-get install libwebkitgtk-1.0-0:i386
-> if you are using Vega and jdk of 32 bits
Upvotes: 41
Reputation: 720
For Ubuntu 24.04, this has worked for me for installing libwebkit2gtk-4.0
:
/etc/apt/sources.list
sudo nano /etc/apt/sources.list
deb http://gb.archive.ubuntu.com/ubuntu jammy main
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
Source: libwebkit2gtk-4.0 not available in Ubuntu 24 & Debian 13 repositories #9662
Update: Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
so sudo nano /etc/apt/sources.list.d/ubuntu.sources
and add this stanza to the end of the file:
Types: deb
URIs: http://gb.archive.ubuntu.com/ubuntu
Suites: jammy
Components: main
Upvotes: 13
Reputation: 1697
I successfully installed libwebkitgtk package using the following:
sudo apt-get update
sudo apt-get install -qq software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo add-apt-repository 'deb [trusted=yes] http://cz.archive.ubuntu.com/ubuntu bionic main universe'
sudo apt-get update
sudo apt-get install -qq libwebkitgtk-1.0-0
Upvotes: 2
Reputation: 17
This solution is work for me:
First you need to install aptitude:
sudo apt install aptitude
Then you can install the package:
sudo aptitude install libwebkitgtk-1.0-0
Upvotes: 0
Reputation: 51
KNIME has a similar dependency. In Debian, the new needed libraries are:
libwebkit2gtk-4.0-37
libwebkit2gtk-4.0-37-gtk2
(Using the standard repositories)
sudo apt-get install libwebkit2gtk-4.0-37
sudo apt-get install libwebkit2gtk-4.0-37-gtk2
Upvotes: 4
Reputation: 280
This is not a full answer, but I solved my similar problem by discovering that a prior older dependency was needed to be installed first before libwebkitgtk-3 would successfully install. Specifically, I needed libjavascriptcoregtk to be installed on the system before I could successfully attempt to install libwebkitgtk. I'm not sure if libjavascriptcoregtk was needed by libwebkitgtk or by the program I'm using, but either way, it was apparently required first.
So there may be some other dependencies you need to have satisfied first before your install can proceed.
Upvotes: 1