Skip to content

Version GLIBX_3.4.32 not found (required by ~/.../nvim-treesitter/parser/norg.so #1646

@DPontes

Description

@DPontes

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

0.10.4

Neorg setup

{
  "nvim-neorg/neorg",
  lazy = false,
  version = "*",
  config = true,
},

Actual behavior

When running

:Neorg sync-parsers

I get the following error:

Downloading tree-sitter-norg...                                                                                                                                                                                      
Creating temporary directory                                                                                                                                                                                         
Extracting tree-sitter-norg...                                                                                                                                                                                       
Compiling...                                                                                                                                                                                                         
Could not load parser for norg: "...0/usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'norg': uv_dlopen: /snap/core22/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6:
 version `GLIBCXX_3.4.32' not found (required by /home/s0001483/.local/share/nvim/lazy/nvim-treesitter/parser/norg.so)"                                                                                              
Treesitter parser for norg has been installed                                                                                                                                                                        
Downloading tree-sitter-norg_meta...                                                                                                                                                                                 
Creating temporary directory                                                                                                                                                                                         
Extracting tree-sitter-norg_meta...                                                                                                                                                                                  
Compiling...                                                                                                                                                                                                         
Treesitter parser for norg_meta has been installed     

Expected behavior

The above error shouldn't happen and I should be able to update the parsers, as well as create a *.norg file

Steps to reproduce

After a fresh install, with

luarocks --version
3.8.0

and with the Neorg setup above, I get the error above whether I run sync-parsers or when trying to open a file with the *.norg extension

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to bugs. Please attach a severity, a priority and category with this label.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions