euclidianAce / ltreesitter

Standalone tree sitter bindings for the Lua language
MIT License
85 stars 4 forks source link

error when requiring ltreesitter #23

Closed TorchedSammy closed 11 months ago

TorchedSammy commented 1 year ago

Hello, I've installed ltreesitter on my new laptop so I can use my Evergreen plugin on Lite XL and I get the following error with it:

error loading module 'ltreesitter' from file '/home/sammy/.luarocks/lib64/lua/5.4/ltreesitter.so':
    /home/sammy/.luarocks/lib64/lua/5.4/ltreesitter.so: undefined symbol: ltreesitter_create_source_text_metatable
stack traceback:
    [C]: in ?
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: in ?

(this is when I require via Lua REPL)

Any idea/fix? I installed it via luarocks install ltreesitter --local --dev

TorchedSammy commented 11 months ago

skill issue on my part