我正在尝试为 Dolphin-emu 创建一个 snap,它构建成功了?但在尝试运行 Dolphin 时,我收到一些错误,提示无法加载模块,尽管它们包含在 .yaml 中
$ dolphin-emu-stable
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
(dolphin-emu:24601): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Aborted (core dumped)
这是 .yaml 文件
name: dolphin-emu-stable
version: 5.0
summary: Dolphin Emulator
description: Dolphin is a Nintendo Wii and Gamecube emulator
confinement: devmode
apps:
dolphin-emu-stable:
command: dolphin-emu
plugs: [X11, network, network-bind, home, opengl, pulseaudio]
parts:
dolphin-emu-stable:
source: https://github.com/dolphin-emu/dolphin/archive/5.0.tar.gz
plugin: cmake
build-packages:
- git
- pkg-config
- gcc
- libwxbase3.0-dev
- libwxgtk3.0-dev
- libgtk2.0-dev
- libxext-dev
- libreadline-dev
- libgl1-mesa-dev
- libevdev-dev
- libudev-dev
- libpulse-dev
- libbluetooth-dev
- libxrandr-dev
- libatk-bridge2.0-dev
- libatk-bridge2.0-0
- libgail-3-0
- libgail-common
- libgail18
- libcanberra-gtk3-module
- libcanberra-gtk3-0
- libcanberra-gtk-module
- libcanberra-gtk0
- libcanberra-pulse
- libcanberra0
- libgdk-pixbuf2.0-dev
- libgdk-pixbuf2.0-0
- libgdk-pixbuf2.0-0:i386
- libgdk-pixbuf2.0-common
谢谢