"undefined symbol: tree_sitter_haskell_external_scanner_create" when running "tree-sitter test"
See original GitHub issueVersion: tree-sitter 0.20.7
Hi! I’m trying to re-use the grammar for learning with a haskell-like language, an I get this message when I run tree-sitter test
:
❯ tree-sitter test
Error opening dynamic library "/home/hecate/.cache/tree-sitter/lib/haskell.so"
Caused by:
/home/hecate/.cache/tree-sitter/lib/haskell.so: undefined symbol: tree_sitter_haskell_external_scanner_create
It’s fairly hard to look up on search engines. Any idea what could be the cause?
Issue Analytics
- State:
- Created 10 months ago
- Comments:7
Top Results From Across the Web
Parser doesn't start until re-installed · Issue #3153 - GitHub
Describe the bug When I open a file in NeoVim, treesitter starts but ... /packer/opt/nvim-treesitter/parser/beancount.so: undefined symbol: ...
Read more >Creating Parsers - Tree-sitter
It recompiles your parser as-needed whenever you update it by re-running tree-sitter generate . Syntax Highlighting Tests. The tree-sitter test command will ...
Read more >Linking a C library (tree-sitter) into a C++ project cmake issues
Undefined symbols for architecture x86_64: "tree_sitter_json()", referenced from: PlainTextEdit::onTextChanged() in TextEditor.cpp.o ld: ...
Read more >How to write a tree-sitter grammar in an afternoon
The rows of equal signs denote the name of the test, followed by the program to parse, then a line of dashes followed...
Read more >nvim-treesitter - Vim Awesome
Warning: Treesitter and nvim-treesitter highlighting are an experimental ... Run tree-sitter generate in this directory (followed by tree-sitter test for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just by copying them in my own repo, reproducing the
grammar/
directory hierarchy. But the submodule is not yet a problem because I’m hitting the error ontree-sitter test
and not from Haskell. I’m closing this issue now and I’ll re-open when I have more concrete stuff to bring. For now I’ll be using a full clone of the repo as a starting point. 😃good luck!