MacTeX Live 2022 Install Hassels

Marek Stepanek muc_marek at icloud.com
Sun Apr 10 12:46:26 CEST 2022


Hello all!

First posting here. Hope this is the right group. 

First: Thank you for your great work! It is always a great pleasure, to restart each year with a new install of TeX-Live.

I am on macOS 12.3.1 MacBook Pro (15-inch, 2018)
I have a HomeBrew install with ghostscript. All my installs of TeXLive 2022 I left the defaults as they are. Probably here lies my issue?

I installed TeX-Live 2022, while distribution of 2021 was still present in `/usr/local/texlive`.

Testing immediately after install my `pandoc` command with a Markdown-Document the command was working (probably because the right paths were still active in Memory); so I moved `/usr/local/texlive/2021` into the Bin. But after restart, `pdflatex` was not found anymore. 

`make` command issued:

```
pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device)
make: *** [typeset] Error 1
```

First I found, my command `pdflatex` was not found anymore.

So I dug into it, and found many symbolic links of `texbin`.

First my $PATH:

```
/Users/mstep/Library/Python/3.9/bin
/usr/local/opt/ruby/bin
/usr/local/bin
/usr/local/sbin
/usr/local/mysql/bin
/Users/mstep/.vim/filters/text
/Users/mstep/Library/Python/3.9/bin

/usr/bin
/bin
/usr/sbin
/sbin
/Library/TeX/texbin
/Library/Apple/usr/bin
/Applications/Wireshark.app/Contents/MacOS
```

So starting here in /Library/TeX/

```
cd /Library/TeX/
ls -l texbin
  texbin@ -> Distributions/Programs/texbin
cd Distributions/Programs/
ls -l texbin
  lrwxr-xr-x  1 root  wheel    39B  1 Dec  2018 texbin@ -> ../.DefaultTeX/Contents/Programs/texbin
cd ../.DefaultTeX/Contents/Programs/
ll texbin
  lrwxr-xr-x  1 root  wheel     9B  2 Apr  2021 texbin@ -> universal
ll universal
  lrwxr-xr-x  1 root  wheel    64B  2 Apr  2021 universal@ -> ../../../../../../../usr/local/texlive/2021/bin/universal-darwin
```

Making a general `ls -l` in `/Library/TeX/Distributions/.DefaultTeX/Contents/Programs` revealed many wrong pointers to the now obsolete distribution of TeXLive 2021:

```
cd /Library/TeX/Distributions/.DefaultTeX/Contents/Programs
ll
total 0
  lrwxr-xr-x  1 root  wheel    64B  2 Apr  2021 arm64@ -> ../../../../../../../usr/local/texlive/2021/bin/universal-darwin
  lrwxr-xr-x  1 root  wheel    59B  2 Apr  2021 i386@ -> ../../../../../../../usr/local/texlive/2021/bin/i386-darwin
  lrwxr-xr-x  1 root  wheel    62B  2 Apr  2021 powerpc@ -> ../../../../../../../usr/local/texlive/2021/bin/powerpc-darwin
  lrwxr-xr-x  1 root  wheel    62B  2 Apr  2021 ppc@ -> ../../../../../../../usr/local/texlive/2021/bin/powerpc-darwin
  lrwxr-xr-x  1 root  wheel     9B  2 Apr  2021 texbin@ -> universal
  lrwxr-xr-x  1 root  wheel    64B  2 Apr  2021 universal@ -> ../../../../../../../usr/local/texlive/2021/bin/universal-darwin
  lrwxr-xr-x  1 root  wheel    64B  2 Apr  2021 x86-64@ -> ../../../../../../../usr/local/texlive/2021/bin/universal-darwin
  lrwxr-xr-x  1 root  wheel    67B  2 Apr  2021 x86_64-legacy@ -> ../../../../../../../usr/local/texlive/2021/bin/x86_64-darwinlegacy
```

Little remark: texbin makes many circles. Would it not be easier to point directly to `/usr/local/texlive/2021/bin/universal-darwin`?

So I restarted the install again, and again. No command `pdflatex` found anymore. Still symbolic links to 2021 ...

Any help?


Best greetings to all


marek











More information about the tex-live mailing list.