Hello,
At the section, 1 Build Emacs with tree-sitter, the following two sudo
commands were needed otherwise the Emacs 29 build step fails unable to
find the shared object file.
git clone https://github.com/tree-sitter/tree-sitter.git
cd tree-sitter
make
sudo make install
sudo ldconfig
On NetBSD the substitute for sudo is doas.
Thanks. Van Ly
> On Jan 18, 2023, at 9:29 AM, Van Ly <van.ly@sdf.org> wrote:> > > Hello,> > At the section, 1 Build Emacs with tree-sitter, the following two sudo> commands were needed otherwise the Emacs 29 build step fails unable to> find the shared object file.> > git clone https://github.com/tree-sitter/tree-sitter.git> cd tree-sitter> make> sudo make install> sudo ldconfig> > On NetBSD the substitute for sudo is doas.
Thanks. I prefer to omit sudo from the commands that I post. You shouldn’t need ldcnofig if your system is configured in the common layout.
Yuan
> Thanks. I prefer to omit sudo from the commands that I> post. You shouldn’t need ldcnofig if your system is> configured in the common layout.
I avoid sudo where I can. My system is plain Debian newly
installed from Lite OS image from Rpi and I install to
/usr/local. The make error out message might suggest the
ldoncfig remediation, as is, it does not point to the fix.
VL