[Tex/LaTex] Can’t compile image after upgrading to OS X Yosemite


I have MacTex installed in my mac. It works fine before I upgrading to OS X Yosemite. After the upgrade, I can still compile the textual part, but the image part gives me this error:

Mainly complain about dyld: Library not loaded: /usr/X11/lib/libXt.6.dylib?

Anybody has similar problem? How do you solve it? Thanks.

Best Answer

Actually, X11 is not erased but moved to /opt/X11.

So, the simplest solution would probably be to manually add the symbolic link from /usr/X11 to /opt/X11:

sudo ln -s /opt/X11 /usr/X11
Related Question