I installed MacTex with Metafont, but when I went to call the program in the terminal by typing mf, I got this error :

dyld: Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/TeX/texbin/mf
  Reason: image not found
Abort trap: 6

What could I do?

  • 1
    Welcome! Do you have X11 installed? How exactly did you install MacTeX? – cfr Jun 7 '17 at 2:39
  • +1 to @cfr's questions, and you can also try mf-nowin if you don't need the X window. – ShreevatsaR Jun 7 '17 at 5:05
  • You can get X11 by following the links here. – Thruston Jun 7 '17 at 11:53
  • 1
    mf-nowin worked, but what is its difference with the normal mf command? – user4464900 Jun 7 '17 at 19:19
  • 1
    I installed X11 and now the normal mf command works! – user4464900 Jun 7 '17 at 19:22

(Posting as answer to avoid “closing this question as off-topic because it has been answered in the comments”…)

Not the answer you're looking for? Browse other questions tagged or ask your own question.