Re: Problems with kpsewhich on MACOS

Vincent Belaïche <[email protected]> Tue, 13 Oct 2020 12:36:16 +0000
Newsgroups gmane.comp.tex.miktex
Message-ID <PR3PR06MB6843810538FA8F6FAF7FE16084040@PR3PR06MB6843.eurprd06.prod.outlook.com>
Finally, it seems that I have the problem again and it is connected to this=
 that I am configuring the place where MiKTeX places the smylinks to the ex=
ecutables to a place different than the default.

On MACOS the default place is /usr/local/bin.

Because I am using TeXDist in order to have several TeX distros on the same=
 machine I reconfigured this place to   /Library/TeX/Distributions/MiKTeX.t=
exdist/Contents/texbin using the MiKTeX console / Administrator / Settings =
/ Directories / Link target directory.

 V.
________________________________
De : Vincent Bela=EFche <[email protected]>
Envoy=E9 : vendredi 9 octobre 2020 22:19
=C0 : MikTeX user group list <[email protected]>
Objet : RE: Problems with kpsewhich on MACOS

Just to say that I have solved my problem as follows:

1) open the MiKTeX console
2) select administrator mode
3) go to cleanup pannel (select it on the left choice list)
4) select restore =AB factory default =BB

Now things work again as expected, but the sad news is that I had to reinst=
all a few packages=85

  Vincent.
________________________________
De : Vincent Bela=EFche
Envoy=E9 : vendredi 9 octobre 2020 17:45
=C0 : MikTeX user group list <[email protected]>
Objet : Problems with kpsewhich on MACOS

Hello,
I have MiKTeX installed on MACOS, and it seems that for some reason kpsewhi=
ch got broken, so the whole install is broken indeed.

I already had that sort of problem, the root cause it that MiKTeX uses some=
 dynamic library with a name that is versionned instead of asking for the l=
atest version, so when there is a system update sometimes it happens that M=
iKTeX gets broken.
So if I type kpsewhich I get:

ERROR: collate_byname<char>::collate_byname failed to construct for

Sorry, but kpsewhich did not succeed.

And if I try to compile a document with content \documentclass{minimal}\beg=
in{document}Hello.\end{document}, then I get:

ERROR: collate_byname<char>::collate_byname failed to construct for

Sorry, but pdflatex did not succeed.
libc++abi.dylib: terminating with uncaught exception of type MiKTeX::Core::=
MiKTeXException: MiKTeX encountered an internal error.
Abort trap: 6



_______________________________________________
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list