Problem with kpsewhich on a new instal

Paulo Ney de Souza <[email protected]> Sun, 17 May 2026 17:51:07 -0700
Newsgroups gmane.comp.tex.live
Message-ID <CAFVhNZNXkE8myhtTcsJGmGc5-2JkExX0bzAVdL51UYwHmux5dQ@mail.gmail.com>
I just finished an install on a shared hosting machine, and some things are
working properly, but not "kpsewhich".

When I run:

$ which kpsewhich

~/usr/local/texlive/2026/bin/x86_64-linux/kpsewhich

which is the correct answer. But when I run the command:

$ kpsewhich --var-value TEXMFLOCAL

lstat(./kpsewhich) failed: ./kpsewhich: No such file or directory kpathsea:
Can't get directory of program name: ./kpsewhich

which is a very weird result.

Running the full path, I get the correct answer:

$ ~/usr/local/texlive/2026/bin/x86_64-linux/kpsewhich --var-value TEXMFLOCAL

/home/1/p/pa/pauloney/usr/local/texlive/texmf-local

I thought I had seen this some 20 years ago ... is this something that will
be fixed?


Paulo Ney