Does Emacs use -ltree-sitter? yes
Tomas Nordin <[email protected]> Wed, 01 Jul 2026 22:02:18 +0000
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Hello Emacs help list
I just built and installed tree-sitter library from a clone of
https://github.com/tree-sitter/tree-sitter.git by running make and make
install.
It installs to /usr/local/{lib,include}, for example
/usr/local/lib/libtree-sitter.so.0.27
When re-building emacs on that, I get an error
./temacs: error while loading shared libraries: libtree-sitter.so.0.27: cannot open shared object file: No such file or directory
I tried git clean -fdx but got the failure repeated. Should I provide a
flag to include that /usr/local/lib location? I don't build in any
special way, no special configuration flags.
I tried to build todays (HEAD -> emacs-31, origin/emacs-31)ba7d2b82325
What do you think, some flags maybe?
--
Tomas