所以我正在尝试安装Solar2D(以前称为Corona SDK)来制作手机游戏。安装依赖项后,当我运行 Solar 2D 时,出现以下错误:
/home/user/CoronaSimulator/CoronaSimulator: error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory
我尝试使用 sudo apt-get install libwebkitgtk-1.0-0
安装 libwebkitgtk但我在终端收到以下消息: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
最佳答案
按照步骤here为我解决了这个问题
打开终端并写下:
deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
sudo apt-get install libwebkitgtk-1.0-0:i386 -> 如果您使用的是 32 位的 Vega 和 jdk
关于ubuntu - 如何在 Ubuntu 20.04 LTS 上安装 libwebkitgtk 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62301866/