Hello there! I’m trying to launch “Bottles” app and always getting this error:
** (process:2): WARNING **: 05:49:29.258: Failed to load shared library 'libgtk-4.so.1' referenced by the typelib: /usr/lib/x86_64-linux-gnu/libXau.so.6: invalid ELF header
Traceback (most recent call last):
File "/app/bin/bottles", line 43, in <module>
from bottles.frontend import main
File "/app/share/bottles/bottles/frontend/main.py", line 33, in <module>
from gi.repository import Gtk, Gio, Gdk, GLib, GObject, Adw
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/usr/lib/python3.10/site-packages/gi/importer.py", line 150, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.10/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.10/site-packages/gi/overrides/Gtk.py", line 111, in <module>
class Widget(Gtk.Widget):
File "/usr/lib/python3.10/site-packages/gi/module.py", line 168, in __getattr__
interfaces = tuple(interface for interface in get_interfaces_for_object(info)
File "/usr/lib/python3.10/site-packages/gi/module.py", line 94, in get_interfaces_for_object
interfaces.append(getattr(module, name))
File "/usr/lib/python3.10/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python3.10/site-packages/gi/module.py", line 207, in __getattr__
wrapper = metaclass(name, bases, dict_)
File "/usr/lib/python3.10/site-packages/gi/types.py", line 247, in __init__
register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface
Another gtk and flatpak apps launches without any errors, only this app is not working for me.
I already tried:
- Reinstall Bottles
- Reinstall gtk, gtk2, gtk3, gtk4
- Reinstall libXau
- Copy libXau and gtk4 to “/usr/lib/x86_64-linux-gnu/”
And nothing changed. Will be really appreciated if someone can help me.
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text