java-tree-sitter icon indicating copy to clipboard operation
java-tree-sitter copied to clipboard

glibc support in the jar?

Open emilaasa opened this issue 3 months ago • 1 comments

Hi!

It looks like the libjava-tree-sitter.so file is built with musl and is not compatible with glibc systems:

(err) Execution error (UnsatisfiedLinkError) at jdk.internal.loader.NativeLibraries/load (NativeLibraries.java:-2).
(err) /tmp/libjava-tree-sitter.so: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory

Is this something you are interested in supporting, perhaps by having multiple jars?

emilaasa avatar Apr 19 '24 06:04 emilaasa

Greetings @emilaasa,

Thank you for bringing this to my attention. Although we built the library according to our specific needs, we do have an interest in making it as generally applicable as possible. Seeing as though I am the only developer working on it, and our group prioritizes other projects at the moment, java-tree-sitter has therefore been relegated to the back burner. I will see how this issue can be addressed once my workload frees up. In the meantime, I invite you to take a look at the source code and propose changes that would help us address the issue you have put forth. If you have any questions about the project structure, you can start a new discussion and I will get back to you as soon as possible.

dabico avatar Apr 19 '24 11:04 dabico