You are not logged in.

#1 2022-01-05 09:58:11

Snow_0
Member
Registered: 2021-10-08
Posts: 3

[SOLVED] Unable to launch gtk application

After over two weeks of not using my pc, I updated my system using

 sudo pacman -Syu 

and rebooted the computer.
Now I can't launch any gtk applications. For example, when launching firefox from the terminal, I get this error

XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so: 
/usr/lib/libgdk-3.so.0: undefined symbol: wl_proxy_marshal_flags
Couldn't load XPCOM 

Here is my pacman.log: http://ix.io/3L4X

The log had this error:

[2022-01-04T22:54:45-0500] [ALPM-SCRIPTLET] /usr/bin/gtk-query-immodules-3.0: symbol lookup error: /usr/lib/libgdk-3.so.0: undefined symbol: wl_proxy_marshal_flags

I've found some other Arch Linux forum posts that had a similar error and one solution was to update the mirrors but that did not work. Any idea on how to solve this?

Last edited by Snow_0 (2022-01-05 12:20:33)

Offline

#2 2022-01-05 10:02:41

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: [SOLVED] Unable to launch gtk application

pacman -Qs wayland ?

Offline

#3 2022-01-05 10:11:19

progandy
Member
Registered: 2012-05-17
Posts: 5,192

Re: [SOLVED] Unable to launch gtk application

Maybe also the output of these commands

$ ldd /usr/lib/libgdk-3.so.0 | grep wayland
$ pacman -Q wayland
$ pacman -Qkk wayland

Last edited by progandy (2022-01-05 10:14:26)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2022-01-05 11:55:06

Snow_0
Member
Registered: 2021-10-08
Posts: 3

Re: [SOLVED] Unable to launch gtk application

Here are the outputs: http://ix.io/3L5J

Last edited by Snow_0 (2022-01-05 11:57:10)

Offline

#5 2022-01-05 12:14:19

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: [SOLVED] Unable to launch gtk application

Reinstall wayland

Offline

#6 2022-01-05 12:20:20

Snow_0
Member
Registered: 2021-10-08
Posts: 3

Re: [SOLVED] Unable to launch gtk application

Thanks now firefox works. Just curious, how is this issue related to wayland when I'm using xorg with dwm?

Offline

#7 2022-01-05 12:22:10

progandy
Member
Registered: 2012-05-17
Posts: 5,192

Re: [SOLVED] Unable to launch gtk application

The wayland package includes the client libraries. All packages that work on wayland in addition to xorg have to link to those client libraries, even if they are unused in a specific setup.

You can reinstall the wayland package to fix the listed errors, but I fear there may be more packages that do not match.

Did you recently restore a snapshot or backup without the pacman database (/var/lib/pacman)? Or maybe installed something with "make install"?

I suggest you run "pacman -Qkk" and verify all reported changed files are files you personally changed for a reason (i.e. config files). If you do not run it as root, you'll have to filter out some errors produced by missing read permissions as well.

Last edited by progandy (2022-01-05 12:24:16)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB