[tex-live] Error when trying to use TeX Live's 2015 tlmgr on FreeBSD 9.3

Norbert Preining preining at logic.at
Sat Oct 3 04:38:51 CEST 2015

Hi Conny

> Yes, kpsewhich is in /usr/local/bin/ BUT LINK? 
> to /usr/local/texlive/2015/bin/i386-freebsd/kpsewhich? 
> ataraxi at maya [/usr/local/bin] > ls -l kpsewhich
> -rwxr-xr-x  1 root  wheel  15748  3 Sep 06:19 kpsewhich 

That is a different kpsewhich, not the one we are using:
ls -l bin/i386-freebsd/kpsewhich 
-rwxr-xr-x 1 norbert norbert 82172 Jun 11 16:50 bin/i386-freebsd/kpsewhich

I don't know where this is coming from, but it seems that your setup
is messed up due to a wrong kpsewhich.

Please make a backup of this file
	mv /usr/local/bin/kpsewhich /usr/local/bin/kpsewhich.backup
and then link the correct one
	ln -s /usr/local/texlive/2015/bin/i386-freebsd/kpsewhich /usr/local/bin/kpsewhich
After that should be able to run tlmgr:
	tlmgr -h
If that works, please try
	tlmgr path add
that should try to generate the necessary links, and will
bail out of there are other programs not properly linked.

Finally, INSTEAD of the above, I would recommend to simply add
to the PATH environment and all the problems will end automatically ;-)
	export PATH=/usr/local/texlive/2015/bin/i386-freebsd:$PATH

ALl the best


PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13

More information about the tex-live mailing list