[OS X TeX] executing gs after installing Mavericks
Justin C. Walker
justin at mac.com
Tue Oct 22 23:36:41 EDT 2013
On Oct 22, 2013, at 20:25 , Gary L. Gray wrote:
> I am trying to execute a gs command in the Terminal after installing Mavericks and when I do, I keep getting:
> <Screen Shot 2013-10-22 at 11.18.12 PM.png>
> I thought that running FixMacTeX2013.pkg might fix it, but it didn’t. I don’t see why I should have to install X11 to run a binary from the Terminal? Is this behavior to be expected?
I'll take a quick guess. If 'gs' is built with X11 support, it will try to use the X11 library (e.g., to connect to an xterm, or somesuch). You can check by doing
$ otool -L /usr/local/bin/gs
If the output includes something like
/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
then you have built-in X11 support. I don't see an easy way around this, but I am no expert (some apps have a "-noX11" flag, but it seems not for 'gs').
There was a thread around April 15 (subject: New Ghostscript-9.07.pkg) from DIck related to this. Something there may be of use.
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income
The path of least resistance:
it's not just for electricity any more.
More information about the MacOSX-TeX