Ask Your Question

Revision history [back]

(Do you mean Mountain Lion?)

Did you install TeX Live or Mac TeX on your machine before you upgraded the OS? If so, you have two choices: the easy way: try reinstalling. The other way, which is not quite as easy, but is much faster: run "gs" from the command line. Do you get the error message? If so, that's your problem, and to fix it, I think this will work:

$ ls -l /usr/local/bin/gs*

You should see a line

lrwxr-xr-x  1 root  wheel         8 Oct  3 07:53 /usr/local/bin/gs@ -> gs-X11

If so, then do this:

$ sudo bash
$ cd /usr/local/bin
$ rm gs
$ ln -s gs-noX11 gs
$ exit

(You may have installed Mac TeX when you had X11 installed, in which case the program "gs" was created as a link pointing to /usr/local/bin/gs-X11. The point is to change it so it points to /usr/local/bin/gs-noX11 instead, since when you upgraded the OS, X11 was removed.)