Skip to content

lua_ls quit with exit code 127 and signal 0 #3308

@samarth-na

Description

@samarth-na

How are you using the lua-language-server?

NeoVim

Which OS are you using?

Linux

What is the issue affecting?

Other

Expected Behaviour

lua_ls doesnt work

when checking the logs this is what it says -

[ERROR][2025-12-05 00:59:41] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"

my lua version is 5.1.5 but i tried this on 5.4 too same issue
ive checked this with different configs and issue persists
thanks for reading i hope i did help putting light on this issue and can help further

Actual Behaviour

Client lua_ls quit with exit code 127 and signal 0. Check log for errors: /home/samarth/.local/state/nvim/lsp.log this message is printed and lsp dont work

Reproduction steps

open any lua file

Additional Notes

im on fedora 42

Log File

[START][2025-12-05 00:59:41] LSP logging initiated
[ERROR][2025-12-05 00:59:41] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"
[ERROR][2025-12-05 00:59:41] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"
[START][2025-12-05 01:00:38] LSP logging initiated
[ERROR][2025-12-05 01:00:38] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"
[ERROR][2025-12-05 01:00:38] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"
[START][2025-12-05 01:06:13] LSP logging initiated
[ERROR][2025-12-05 01:06:13] ...p/_transport.lua:36 "rpc" "lua-language-server" "stderr" "/home/samarth/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions