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

Conny Andersson tugmember at diaforum.se
Sat Oct 3 02:26:57 CEST 2015


Hi Norbert, 

Sorry it took so long for me to answer, but I am not using my computers every
day ... 


On Fri, 2 Oct 2015 03:04:27 +0900
Norbert Preining <preining at logic.at> wrote:

> Hi Conny,
> 
> I have now analyzed the code and I do NOT understand how that
> can happen ...
> 
> On Wed, 30 Sep 2015, Conny Andersson wrote:
> > <L> create symlinks in standard directories:  [X]
> >             binaries to: /usr/local/bin
> >             manpages to: /usr/local/man
> >                 info to: /usr/local/info
> 
> In this case, there *should* be a link
> 	/usr/local/bin/kpsewhich -> 
> 		/usr/local/texlive/2015/bin/$ARCH/kpsewhich
> If this link (in fact /usr/local/bin/kpsewhich) is found, it
> is used to expand
> 	SELFAUTOPARENT
> and use that for the module path.
> 
> So the only way that the above does not work is that you do NOT have
> the kpsewhich link.
> 
> Can you please check? 

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 

ataraxi at maya [/usr/local/bin] > file kpsewhich
kpsewhich: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 9.3, stripped

ataraxi at maya [/usr/local/bin] > ldd kpsewhich
kpsewhich:
        libkpathsea.so.6 => /usr/local/lib/libkpathsea.so.6 (0x28077000)
        libc.so.7 => /lib/libc.so.7 (0x2808f000)

**********************************************************************

ataraxi at maya [2015/bin/i386-freebsd] > ls -l kpsewhich
-rwxr-xr-x  1 root  wheel  82172  9 Maj 18:33 kpsewhich

ataraxi at maya [2015/bin/i386-freebsd] > file kpsewhich
kpsewhich: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 7.2 (702106), stripped

ataraxi at maya [2015/bin/i386-freebsd] > ldd kpsewhich
kpsewhich:
        libc.so.7 => /lib/libc.so.7 (0x28086000)

**********************************************************************

This is ls -l, file and ldd command results from my i386 laptop.
I am running FreeBSD 9.3 on both my i386 laptop and on my amd64
workstation. On both I have installed TeX Live 2015 and BOTH have
the same problem with tlmgr. As I wrote in my intial message this
problem with the tlmgr has not been there before this year's TeX Live
distribution. Since 2009 I never have had any problems with the tlmgr.

For now I have written two shell scripts to overcome the problem. One to
update TeX Live packages and one to update tlmgr self, in accordance
with what Zdeněk Wagner wrote on September 30, 2015: 
"As a temporary solution it is possible to call tlmgr by specifying the 
full path in /usr/local/texlive/2015/bin/$ARCH, it works."

tlmgr: package repository http://ftp.acc.umu.se/mirror/CTAN/systems/texlive/tlnet
tlmgr: saving backups to /usr/local/texlive/2015/tlpkg/backups
[1/5, ??:??/??:??] update: koma-script [11386k] (37734 -> 38504) ... done
[2/5, 00:43/00:56] update: kpathsea [1011k] (37193 -> 38495) ... done
[3/5, 00:53/01:03] update: tempora [1492k] (38478 -> 38496) ... done
[4/5, 01:32/01:38] update: tex4ht [842k] (38177 -> 38499) ... done
[5/5, 01:57/01:58] update: texlive-docindex [214k] (38483 -> 38501) ... done
tlmgr: package log updated: /usr/local/texlive/2015/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
running updmap-sys ...
done running updmap-sys.

> 
> I could reproduce your problem by *only* linking tlmgr into /usr/local/bin.
> In this case I get the same error. But when linking both tlmgr and 
> kpsewhich, all works out well.
> 
> Please confirm.

OK, done ...

Best wishes,

Conny

> 
> Thanks
> 
> Norbert
> 
> ------------------------------------------------------------------------
> 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
> ------------------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=
  Conny Andersson
<tugmember at diaforum.se>

http://www.diaforum.se/
=-=-=-=-=-=-=-=-=-=-=-=



More information about the tex-live mailing list