You are not logged in.
Pages: 1
Today I tried to execute the following command to update.
pacman -Syu
But unfortunately, the error was related to NVIDIA, so I searched and found a solution on the forum, which is the following two instructions.
pacman -Rdd linux-firmware
pacman -Syu linux-firmware
Yes, I updated successfully, but Vim suddenly couldn't be used. I tried restarting, but it still didn't work.
This is an error message.
[root@arch homepage]# vim
vim: error while loading shared libraries: libwayland-client.so.0: cannot open shared object file: No such file or directory
May I ask what the reason is? Can someone help me?
Last edited by 5had0w (2025-07-01 05:44:55)
Offline
I agree, vim is currently broken on any system that does not have the wayland package installed on it.
Why was libwayland-client.so.0 hard linked? If intentional, why doesn't pacman install wayland as well? Either the vim build is broken, or the package is missing the dependency.
0:> pacman -Q vim
vim 9.1.1492-1
0:> ldd /usr/bin/vim
linux-vdso.so.1 (0x00007c86f1cdc000)
libwayland-client.so.0 => not found
libm.so.6 => /usr/lib/libm.so.6 (0x00007c86f1708000)
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007c86f1699000)
libacl.so.1 => /usr/lib/libacl.so.1 (0x00007c86f1cc3000)
libgpm.so.2 => /usr/lib/libgpm.so.2 (0x00007c86f1691000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007c86f14a1000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007c86f1cde000)Offline
I've also noticed this issue. I've tried looking at some of the recent changes to vim but I still don't fully understand the root cause. It appears that somehow vim has a new implicit dependency on a wayland library.
In my case, it would seem that downgrading vim to version 9.1.1431-1 does solve the issue (it's the most recent version I had in my pacman cache). There's a conflict with vim-runtime so I had to uninstall vim first.
# pacman -R vim# pacman -U file:///var/cache/pacman/pkg/vim-runtime-9.1.1431-1-x86_64.pkg.tar.zst# pacman -U file:///var/cache/pacman/pkg/vim-9.1.1431-1-x86_64.pkg.tar.zstAnd then of course add them both to IgnorePkg in /etc/pacman.conf.
Alternatively, and more simply, this can be solved by just installing wayland. However, I would think that's more of a band-aid fix that doesn't really address the core issue. Vim isn't supposed to depend on wayland.
Offline
Anyone of you got an account on gitlab.archlinux.org? I don't, but if you have, maybe raise an issue in https://gitlab.archlinux.org/archlinux/ … m/-/issues about this.
Offline
Anyone of you got an account on gitlab.archlinux.org? I don't, but if you have, maybe raise an issue in https://gitlab.archlinux.org/archlinux/ … m/-/issues about this.
I don't either, but I just emailed asking for one. I'll raise an issue if my account is approved.
Offline
Whoracle wrote:Anyone of you got an account on gitlab.archlinux.org? I don't, but if you have, maybe raise an issue in https://gitlab.archlinux.org/archlinux/ … m/-/issues about this.
I don't either, but I just emailed asking for one. I'll raise an issue if my account is approved.
Same, about time I got myself one. Let's see who gets approved first ![]()
Offline
I assume these are headless systems? The vast majority of Arch systems will have the wayland package, even many headless setups. As this appears to be an upstream change (inclusion of Wayland clipboard support), it'll probably just get added as a dep here.
Edit, looks like it could be disabled with --with-wayland=no, which could make sense for vim as opposed to gvim.
Last edited by Scimmia (2025-06-29 19:49:08)
Offline
No, desktop system in my case. And a few servers, but either way they need to add the dependency for the package or get rid of it.
Last edited by Whoracle (2025-06-29 20:06:21)
Offline
How do you have a desktop system without mesa? Or GTK*? Or Qt*?
Last edited by Scimmia (2025-06-29 20:02:04)
Offline
Silly me, I checked on the wrong system. I have mesa, and thus wayland on my desktop. Was in the wrong terminal.
Point stands: Vim either needs to depend on wayland directly or get rid of it, or it we live with it not being useful on headless systems (and the upcoming archiso I'd guess - or does that have wayland installed for some reason? can't check easily atm)
Last edited by Whoracle (2025-06-29 20:06:49)
Offline
Historically this was split between vim and gvim, https://wiki.archlinux.org/title/Vim#Installation
Edit, forgot to ask: is anybody here using vim or is everybody installing gvim?
Edit #2: gvim drags in wayland via gtk3, so "no"
Edit #2: and OMG F5…
Last edited by seth (2025-06-29 20:16:30)
Offline
Edit, looks like it could be disabled with --with-wayland=no, which could make sense for vim as opposed to gvim.
This is the route I'd go. As a system admin, I'd prefer to see vim kept lean, and features like clipboard support pushed to gvim.
Offline
Edit, forgot to ask: is anybody here using vim or is everybody installing gvim?
Vim, all of my Linux installs are headless servers, so no need for GUI functionality.
Offline
Edit, forgot to ask: is anybody here using vim or is everybody installing gvim?
This wouldn't apply to gvim, which pull in gtk3, and wayland through that.
Offline
Yes, see my edit - too much action in this thread ![]()
Offline
Same here, I use Arch on laptop, but terminal only, no GUI, and been using vim for 20+ years, always considered it as "lean&mean", it was super surprising to see dependency on wayland. I hope it doesn't mine bitcoin while I'm away.
Offline
The next release will link libsystemd ![]()
https://gitlab.archlinux.org/archlinux/ … -/issues/7
Offline
Offline
Thank you all. In the end, I tried to directly compile the source code and install it, and it's ready to use
Offline
That's an insane overreaction for something that's already been fixed.
Offline
Well if he did that before installing the fixed package I'd see that as an option.
Now that the package should be fixed, does reinstalling it fix your original issue and hence allow you to mark this as [SOLVED]?
Offline
Please help mark it as [SOLVED], thank you, I don't know how to mark it
Offline
Please help mark it as [SOLVED], thank you, I don't know how to mark it
Edit your first post and prepend the title with [SOLVED]
Cheers,
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
5had0w wrote:Please help mark it as [SOLVED], thank you, I don't know how to mark it
Edit your first post and prepend the title with [SOLVED]
Cheers,
Thanks!
Offline
Pages: 1