Neovim do not find lua.so after last update

After the last update of nvim I find the error


Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:36: BufReadPost Autocommands for "*"..FileType Aut
ocommands for "*"..function <SNR>1_LoadFTPlugin[20]..script /usr/share/nvim/runtime/ftplugin/lua.lua: Vim(runtime):E5
113: Error while calling lua chunk: /usr/share/nvim/runtime/lua/vim/treesitter.lua:431: Parser could not be created f
or buffer 1 and language "lua"
stack traceback:
        [C]: in function 'assert'
        /usr/share/nvim/runtime/lua/vim/treesitter.lua:431: in function 'start'
        /usr/share/nvim/runtime/ftplugin/lua.lua:2: in main chunk
        [C]: in function 'nvim_cmd'
        /usr/share/nvim/runtime/filetype.lua:36: in function </usr/share/nvim/runtime/filetype.lua:35>
        [C]: in function 'pcall'
        vim/shared.lua: in function <vim/shared.lua:0>
        [C]: in function '_with'
        /usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
        [C]: in function '_with'
        /usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>

when trying opening a *.lua file. I suspect a package error. I checked treesiter: it finds an error loading lua parser:

vim.treesitter:                                                           1 ❌

Treesitter features ~
- Treesitter ABI support: min 13, max 15
- WASM parser support: false

Treesitter parsers ~
- ✅ OK Parser: c                         ABI: 15, path: /usr/share/nvim/runtime/parser/c.so
- ❌ ERROR Parser "lua" failed to load (path: /usr/share/nvim/runtime/parser/lua.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'lua': uv_dlopen: /usr/share/nvim/runtime/parser/lua.so: undefined symbol: tree_sitter_lua_external_scanner_create
- ✅ OK Parser: markdown                  ABI: 15, path: /usr/share/nvim/runtime/parser/markdown.so
- ✅ OK Parser: markdown_inline           ABI: 15, path: /usr/share/nvim/runtime/parser/markdown_inline.so
- ✅ OK Parser: python                    ABI: 15, path: /usr/share/nvim/runtime/parser/python.so
- ✅ OK Parser: query                     ABI: 15, path: /usr/share/nvim/runtime/parser/query.so
- ✅ OK Parser: vim                       ABI: 15, path: /usr/share/nvim/runtime/parser/vim.so
- ✅ OK Parser: vimdoc                    ABI: 15, path: /usr/share/nvim/runtime/parser/vimdoc.so

However it is present in /usr…

~ 19:41 $ ls /usr/share/nvim/runtime/parser
c.so  lua.so  markdown_inline.so  markdown.so  python.so  query.so  vimdoc.so  vim.so

Neovim version

~ $ nvim --version
NVIM v0.11.5
Build type: RelWithDebInfo
LuaJIT 2.1.1756211046
Run "nvim -V1 -v" for more info

I did install nvim on the latest Tumbleweed:

$ sudo zypper install --no-recommends neovim
...

The following 19 NEW packages are going to be installed:
  libluv1 libtree-sitter0_25 libunibilium4 libvterm0 lua-interpreter luajit luajit-compat-5.3 luajit-compat-5.3-bit32 luajit-lpeg luajit-luarocks luajit-luv neovim tree-sitter-c tree-sitter-lua
  tree-sitter-markdown tree-sitter-python tree-sitter-query tree-sitter-vim tree-sitter-vimdoc

19 new packages to install.

Package download size:     7.9 MiB

> nvim --version
NVIM v0.11.5
Build type: RelWithDebInfo
LuaJIT 2.1.1756211046

But nvim should me an edit window and I can create a document and write it to a text file.

Thank you for your comment: did you try to open a *.lua file, the error only concerns the lua parser of treesitter.

Here is the list of the installed related package in my configuration:

~ 20:19 $ zypper se -si tree-sitter
Loading repository data...
Reading installed packages...

S  | Name                           | Type    | Version    | Arch   | Repository
---+--------------------------------+---------+------------+--------+------------------
i  | libtree-sitter0_25             | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | libtree-sitter0_25-x86-64-v3   | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | nodejs-vscode-tree-sitter-wasm | package | 0.0.4-1.1  | noarch | (System Packages)
i+ | tree-sitter                    | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | tree-sitter-c                  | package | 0.24.1-1.1 | x86_64 | repo-oss
i  | tree-sitter-lua                | package | 0.4.0-1.1  | x86_64 | (System Packages)
i  | tree-sitter-markdown           | package | 0.5.1-1.1  | x86_64 | repo-oss
i  | tree-sitter-python             | package | 0.23.6-1.2 | x86_64 | repo-oss
i  | tree-sitter-query              | package | 0.8.0-1.1  | x86_64 | repo-oss
i  | tree-sitter-vim                | package | 0.7.0-1.1  | x86_64 | repo-oss
i  | tree-sitter-vimdoc             | package | 4.1.0-1.1  | x86_64 | repo-oss
~ 20:23 $ zypper se -si luajit
Loading repository data...
Reading installed packages...

S  | Name                    | Type    | Version          | Arch   | Repository
---+-------------------------+---------+------------------+--------+-----------
i  | libluajit-5_1-2         | package | 2.1.20250826-2.1 | x86_64 | repo-oss
i  | luajit                  | package | 2.1.20250826-2.1 | x86_64 | repo-oss
i  | luajit-compat-5.3       | package | 0.14.4-12.1      | x86_64 | repo-oss
i  | luajit-compat-5.3-bit32 | package | 5.3.5.1-12.1     | x86_64 | repo-oss
i  | luajit-lpeg             | package | 1.1.0-2.1        | x86_64 | repo-oss
i+ | luajit-luafilesystem    | package | 1.8.0-7.1        | x86_64 | repo-oss
i  | luajit-luarocks         | package | 3.12.2-1.1       | noarch | repo-oss
i  | luajit-luv              | package | 1.51.0+1-6.1     | x86_64 | repo-oss
i  | luajit-mpack            | package | 1.0.13-1.1       | x86_64 | repo-oss

Update you system, there are new packages, see systempackages in your last field:

i  | tree-sitter-lua                | package | 0.4.0-1.1  | x86_64 | (System Packages)

Yes, I installed the “repo-oss” package but the error with lua files is always present…

zypper se -si tree-sitter
Loading repository data...
Reading installed packages...

S  | Name                           | Type    | Version    | Arch   | Repository
---+--------------------------------+---------+------------+--------+------------------
i  | libtree-sitter0_25             | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | libtree-sitter0_25-x86-64-v3   | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | nodejs-vscode-tree-sitter-wasm | package | 0.0.4-1.1  | noarch | (System Packages)
i+ | tree-sitter                    | package | 0.25.3-1.1 | x86_64 | repo-oss
i  | tree-sitter-c                  | package | 0.24.1-1.1 | x86_64 | repo-oss
i  | tree-sitter-lua                | package | 0.4.1-1.1  | x86_64 | repo-oss
i  | tree-sitter-markdown           | package | 0.5.1-1.1  | x86_64 | repo-oss
i  | tree-sitter-python             | package | 0.23.6-1.2 | x86_64 | repo-oss
i  | tree-sitter-query              | package | 0.8.0-1.1  | x86_64 | repo-oss
i  | tree-sitter-vim                | package | 0.7.0-1.1  | x86_64 | repo-oss
i  | tree-sitter-vimdoc             | package | 4.1.0-1.1  | x86_64 | repo-oss

zypper dup gives now “nothing to do”

I think that the problem comes from the neovim package, because the dependencies are apparently correctly installed (in particular version 0.25x of treesitter library)

i  | nodejs-vscode-tree-sitter-wasm | package | 0.0.4-1.1  | noarch | (System Packages)

Post:
zypper se -si | grep -i 'system pack'

The above package is also newer, version 0.3.0:

Also post:
zypper se -s liblua

There are 87 package from system:

~ 21:09 $  zypper se -si | grep -i 'system pack'
i+ | cnijfilter2                                   | package | 5.20-1                                       | x86_64 | (System Packages)
i  | cuda-cccl-13-0                                | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-command-line-tools-13-0                  | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-compiler-13-0                            | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-crt-13-0                                 | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | cuda-cudart-13-0                              | package | 13.0.96-1                                    | x86_64 | (System Packages)
i  | cuda-cudart-devel-13-0                        | package | 13.0.96-1                                    | x86_64 | (System Packages)
i  | cuda-culibos-devel-13-0                       | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-cuobjdump-13-0                           | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-cupti-13-0                               | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-cuxxfilt-13-0                            | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-documentation-13-0                       | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-driver-devel-13-0                        | package | 13.0.96-1                                    | x86_64 | (System Packages)
i  | cuda-gdb-13-0                                 | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-libraries-13-0                           | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-libraries-devel-13-0                     | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-nsight-13-0                              | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-nsight-compute-13-0                      | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-nsight-systems-13-0                      | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-nvcc-13-0                                | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | cuda-nvdisasm-13-0                            | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-nvml-devel-13-0                          | package | 13.0.87-1                                    | x86_64 | (System Packages)
i  | cuda-nvprune-13-0                             | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-nvrtc-13-0                               | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | cuda-nvrtc-devel-13-0                         | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | cuda-nvtx-13-0                                | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-opencl-13-0                              | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-opencl-devel-13-0                        | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-profiler-api-13-0                        | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-sandbox-devel-13-0                       | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | cuda-sanitizer-13-0                           | package | 13.0.85-1                                    | x86_64 | (System Packages)
i+ | cuda-toolkit                                  | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-toolkit-13-0                             | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-toolkit-13-0-config-common               | package | 13.0.96-1                                    | noarch | (System Packages)
i  | cuda-toolkit-13-config-common                 | package | 13.0.96-1                                    | noarch | (System Packages)
i  | cuda-toolkit-config-common                    | package | 13.0.96-1                                    | noarch | (System Packages)
i  | cuda-tools-13-0                               | package | 13.0.2-1                                     | x86_64 | (System Packages)
i  | cuda-visual-tools-13-0                        | package | 13.0.2-1                                     | x86_64 | (System Packages)
i+ | epson-inkjet-printer-escpr2                   | package | 1.2.35-1                                     | x86_64 | (System Packages)
i+ | epsonscan2                                    | package | 6.7.80.0-1                                   | x86_64 | (System Packages)
i+ | epsonscan2-non-free-plugin                    | package | 1.0.0.6-1                                    | x86_64 | (System Packages)
i  | gds-tools-13-0                                | package | 1.15.1.6-1                                   | x86_64 | (System Packages)
i+ | kernel-default                                | package | 6.18.1-1.1                                   | x86_64 | (System Packages)
i+ | kernel-default                                | package | 6.18.0-2.1                                   | x86_64 | (System Packages)
i+ | kernel-default                                | package | 6.17.9-1.1                                   | x86_64 | (System Packages)
i+ | kernel-default-devel                          | package | 6.18.1-1.1                                   | x86_64 | (System Packages)
i+ | kernel-default-devel                          | package | 6.18.0-2.1                                   | x86_64 | (System Packages)
i+ | kernel-default-devel                          | package | 6.17.9-1.1                                   | x86_64 | (System Packages)
i+ | kernel-devel                                  | package | 6.18.1-1.1                                   | noarch | (System Packages)
i+ | kernel-devel                                  | package | 6.18.0-2.1                                   | noarch | (System Packages)
i+ | kernel-devel                                  | package | 6.17.9-1.1                                   | noarch | (System Packages)
i  | libcublas-13-0                                | package | 13.1.0.3-1                                   | x86_64 | (System Packages)
i  | libcublas-devel-13-0                          | package | 13.1.0.3-1                                   | x86_64 | (System Packages)
i  | libcufft-13-0                                 | package | 12.0.0.61-1                                  | x86_64 | (System Packages)
i  | libcufft-devel-13-0                           | package | 12.0.0.61-1                                  | x86_64 | (System Packages)
i  | libcufile-13-0                                | package | 1.15.1.6-1                                   | x86_64 | (System Packages)
i  | libcufile-devel-13-0                          | package | 1.15.1.6-1                                   | x86_64 | (System Packages)
i  | libcurand-13-0                                | package | 10.4.0.35-1                                  | x86_64 | (System Packages)
i  | libcurand-devel-13-0                          | package | 10.4.0.35-1                                  | x86_64 | (System Packages)
i  | libcusolver-13-0                              | package | 12.0.4.66-1                                  | x86_64 | (System Packages)
i  | libcusolver-devel-13-0                        | package | 12.0.4.66-1                                  | x86_64 | (System Packages)
i  | libcusparse-13-0                              | package | 12.6.3.3-1                                   | x86_64 | (System Packages)
i  | libcusparse-devel-13-0                        | package | 12.6.3.3-1                                   | x86_64 | (System Packages)
i  | libgpgme11                                    | package | 1.24.3-2.1                                   | x86_64 | (System Packages)
i  | libgpgmepp6                                   | package | 1.24.3-2.1                                   | x86_64 | (System Packages)
i  | libkdecorations3private1                      | package | 6.3.1-1.1                                    | x86_64 | (System Packages)
i  | libnpp-13-0                                   | package | 13.0.1.2-1                                   | x86_64 | (System Packages)
i  | libnpp-devel-13-0                             | package | 13.0.1.2-1                                   | x86_64 | (System Packages)
i  | libnvfatbin-13-0                              | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | libnvfatbin-devel-13-0                        | package | 13.0.85-1                                    | x86_64 | (System Packages)
i  | libnvjitlink-13-0                             | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | libnvjitlink-devel-13-0                       | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | libnvjpeg-13-0                                | package | 13.0.1.86-1                                  | x86_64 | (System Packages)
i  | libnvjpeg-devel-13-0                          | package | 13.0.1.86-1                                  | x86_64 | (System Packages)
i  | libnvptxcompiler-13-0                         | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | libnvvm-13-0                                  | package | 13.0.88-1                                    | x86_64 | (System Packages)
i  | libopenh264-7                                 | package | 2.3.1-2.suse1699.101                         | x86_64 | (System Packages)
i  | libpoppler146                                 | package | 25.02.0-1.2                                  | x86_64 | (System Packages)
i  | libpoppler147                                 | package | 25.03.0-1.1                                  | x86_64 | (System Packages)
i  | libx265-209                                   | package | 3.6-1699.2.pm.12                             | x86_64 | (System Packages)
i  | libxml2-2                                     | package | 2.13.8-3.1                                   | x86_64 | (System Packages)
i  | nodejs-vscode-oniguruma                       | package | 1.7.0-11.2                                   | noarch | (System Packages)
i  | nodejs-vscode-tree-sitter-wasm                | package | 0.0.4-1.1                                    | noarch | (System Packages)
i  | nsight-compute-2025.3.0                       | package | 2025.3.0.19-1                                | x86_64 | (System Packages)
i  | nsight-compute-2025.3.1                       | package | 2025.3.1.4-1                                 | x86_64 | (System Packages)
i  | nsight-systems-2025.3.2                       | package | 2025.3.2.474_253236389321v0-0                | x86_64 | (System Packages)
i+ | zoom                                          | package | 6.7.0.6313_openSUSE-1                        | x86_64 | (System Packages)

and here the lua packages

~ 21:16 $ zypper se -s liblua
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                       | Arch   | Repository
---+-----------------------+---------+-------------------------------+--------+-----------
i  | liblua5_1-5           | package | 5.1.5-17.1                    | x86_64 | repo-oss
   | liblua5_3-5           | package | 5.3.6-4.1                     | x86_64 | repo-oss
i  | liblua5_4-5           | package | 5.4.8-4.1                     | x86_64 | repo-oss
   | liblua5_4-5-32bit     | package | 5.4.8-4.1                     | x86_64 | repo-oss
   | liblua5_5-5           | package | 5.5.0~beta1-2.1               | x86_64 | repo-oss
   | libluabind0_9_1       | package | 0.9.1+git20150408.a0edf58-4.1 | x86_64 | repo-oss
i  | libluajit-5_1-2       | package | 2.1.20250826-2.1              | x86_64 | repo-oss
   | libluajit-5_1-2-32bit | package | 2.1.20250826-2.1              | x86_64 | repo-oss
   | lua-Hamliblua         | package | 4.6.5-1.1                     | x86_64 | repo-oss
~ 21:17 $ 

Note that, as I understand, neovim uses lua 5.1

I have effectively an old version of nodejs-vscode-tree-sitter-wasm, however I do not find how to update it to the new version: it is not in the ususal tumbleweed repositories:

zypper lr
Repository priorities in effect:                                                     (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  7 repositories

#  | Alias                      | Name                        | Enabled | GPG Check | Refresh
---+----------------------------+-----------------------------+---------+-----------+--------
 1 | NVIDIA:repo-non-free       | repo-non-free               | Yes     | (r ) Yes  | Yes
 2 | cuda                       | cuda                        | No      | ----      | ----
 3 | gh-cli                     | packages for the GitHub CLI | Yes     | (r ) Yes  | Yes
 4 | home_MasterPatricko        | home:MasterPatricko         | Yes     | (r ) Yes  | Yes
 5 | openSUSE:repo-non-oss      | repo-non-oss                | No      | ----      | ----
 6 | openSUSE:repo-openh264     | repo-openh264               | Yes     | (r ) Yes  | Yes
 7 | openSUSE:repo-oss          | repo-oss                    | Yes     | (r ) Yes  | Yes
 8 | openSUSE:repo-oss-debug    | repo-oss-debug              | No      | ----      | ----
 9 | openSUSE:repo-oss-source   | repo-oss-source             | No      | ----      | ----
10 | openSUSE:update-tumbleweed | update-tumbleweed           | Yes     | (r ) Yes  | Yes
11 | packman-essentials         | packman-essentials          | Yes     | (r ) Yes  | Yes
12 | vscode                     | Visual Studio Code          | Yes     | (r ) Yes  | Yes
~ 21:49 $ zypper se -s nodejs-vscode
Loading repository data...
Reading installed packages...

S  | Name                           | Type    | Version    | Arch   | Repository
---+--------------------------------+---------+------------+--------+------------------
i  | nodejs-vscode-oniguruma        | package | 1.7.0-11.2 | noarch | (System Packages)
i  | nodejs-vscode-tree-sitter-wasm | package | 0.0.4-1.1  | noarch | (System Packages)

I added the devel repository and installed the updated packages nodejs-vscode

S  | Name                           | Type    | Version    | Arch   | Repository
---+--------------------------------+---------+------------+--------+-----------------
i+ | nodejs-vscode-oniguruma        | package | 1.7.0-14.1 | noarch | devel_tumbleweed
i+ | nodejs-vscode-tree-sitter-wasm | package | 0.3.0-1.1  | noarch | devel_tumbleweed
~ 22:44 $ 

@verga zypper se -s nodejs-vscode will show.

Okay lua parsing specific.

But that is not the error that nvim :checkhealth shows:

❌ ERROR Parser "lua" failed to load (path: /usr/share/nvim/runtime/parser/lua.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'lua': uv_dlopen: /usr/share/nvim/runtime/parser/lua.so: undefined symbol: tree_sitter_lua_external_scanner_create

But indeed tree_sitter_lua_external_scanner_create is present in that file.

> nm -gD /usr/share/nvim/runtime/parser/lua.so
                 w __cxa_finalize
                 w __gmon_start__
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
0000000000003d90 T tree_sitter_lua
                 U tree_sitter_lua_external_scanner_create
                 U tree_sitter_lua_external_scanner_deserialize
                 U tree_sitter_lua_external_scanner_destroy
                 U tree_sitter_lua_external_scanner_scan
                 U tree_sitter_lua_external_scanner_serialize

Looks to be you better create a bug on https://bugzilla.opensuse.org/

Thank you, I will fill a bug report to bugzilla.

Bug report at https://bugzilla.opensuse.org/show_bug.cgi?id=1255855