Replace the required dependency error in packages.

Error:

nvim: error while loading shared libraries: libmsgpackc.so.2: cannot open shared object file: No such file or directory

[–more–] Solution:

[image 1730633405.jpg]

pacman -S patchelf

patchelf --replace-needed libmsgpackc.so.2 libmsgpack-c.so.2 $(command -v nvim)

Reference: Reddit