Nvim: Error While Loading Shared Libraries: /usr/lib/lua/5.1/lpeg.so: Cannot Open Shared Object File: No Such File or Directory

Problem

After running paru, we tried to open nvim but got a error like this

1
nvim: error while loading shared libraries: /usr/lib/lua/5.1/lpeg.so: cannot open shared object file: No such file or directory

Solution

Install lua51-lpeg to solve it:

1
paru -S lua51-lpeg

Nvim: Error While Loading Shared Libraries: /usr/lib/lua/5.1/lpeg.so: Cannot Open Shared Object File: No Such File or Directory
https://xxiaoa.github.io/posts/405d6517/
Author
XXiaoA
Posted on
May 1, 2023
Licensed under