After trying to fix a hyphenation problem in various ways, I can't compile any Tex documents anymore, even after uninstalling and reinstalling Miktex. The error message I get when I try is as follows:
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib Referenced from: /usr/local/bin/xelatex Reason: image not found Error: Command crashed: xelatex -synctex=1 -interaction=nonstopmode "Thesis-Firstname-Lastname".tex
Sadly, I do not know what exactly broke this reference. Using Luatex as compiler doesn't help either.
I'm relatively new to Latex, so I don't quite understand the error message. I already tried reinstalling libjpeg, but nothing is changed. I use Miktex for Mac. I'd be glad about any recommendations to fix this or understand what exactly is going wrong.