[OS X TeX] executing gs after installing Mavericks

Gary L. Gray gray at psu.edu
Wed Oct 23 06:33:11 CEST 2013


On Oct 22, 2013, at 11:36 PM, Justin C. Walker <justin at mac.com> wrote:

> 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’).

It appears that I have the gs version with X11 support. :-(

> There was a thread around April 15 (subject: New Ghostscript-9.07.pkg) from DIck related to this.  Something there may be of use.

I looked and didn’t see any thread like that. Might you be talking about the mactex mailing list?

With that said, I did get it working again. Thank you for the quick response.

Gary




More information about the macostex-archives mailing list