> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
> Date: Sun, 28 May 2023 09:15:15 +0100
> Cc: 63762@debbugs.gnu.org
>
> I only have 1 copy of those tree-sitter libraries in my entire system, and on both the TTY and NS ports,
> (treesit-available-p) returns t. All of the tree-sitter libraries are in /opt/local/lib, it's just the TTY port isn't
> able to pick them up. Here's a directory listing
What I meant to say is that by macOS conventions, a console program
looks for shared libraries in different places. But that's a guess; I
don't really know how this works on macOS.
All I can suggest is step in a debugger through the code in
treesit_load_language, and see why the TTY version fails to find the
grammar libraries. I don't have this problem on MS-Windows, FWIW. So
it is something macOS-specific, and we need a macOS expert to
investigate.