Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I just performed an install of TeXLive 2012 over the network, and I cannot execute any of the binaries at all. Running tex --version returns zsh: exec format error: tex, even install-tl in /opt/texlive/2012 reports the same error.

What am I doing wrong? The only option I changed in install-tl was set the install path to /opt/texlive/2012 instead of the default /usr/local/texlive/2012, and I made sure the binaries were set to Linux x86-64, which is my system archictecture.

EDIT The mysterious error disappeared when I re-downloaded the TeXLive network installer and ran it again. I have no idea what happened or why.

share|improve this question
1  
You should make sure that your PATH variable contains /opt/texlive/2012/bin/x86_64-linux. Try the command line /opt/texlive/2012/bin/x86_64-linux/tex --version – egreg Sep 24 '12 at 8:56
I doubt it's a PATH issue: the message would be zsh: command not found: tex. Can you please try file $(which tex), which should print /opt/texlive/2012/bin/x86_64-linux/tex: ELF 64-bit LSB executable etc, and file /opt/texlive/2012/install-tl, which should be a Perl script, ASCII text executable. Also make sure your machine really is 64bits (this may sound stupid, but I've already seen this mistake). – mpg Sep 25 '12 at 7:50
Re-downloading the TeXLive network installer and re-running it fixed the problem, whatever it was. Weird. – zoqaeski Sep 29 '12 at 9:04
OK, 'too localised' then? – Joseph Wright Sep 29 '12 at 9:11

closed as too localized by egreg, lockstep, diabonas, morbusg, Marco Daniel Sep 29 '12 at 10:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.