View Full Version : Ghostscript broken after FC4->FC5 upgrade

4th April 2006, 09:55 AM

I have just upgraded from FC4 to FC5, and realized that Ghostscript does not seem to work anymore. A ghostscript -ver yields:

ESP Ghostscript 8.15.1 (2005-09-22)

When I open a ps/pdf in gsview, I get the error:

GSview 4.7 2005-03-25
play_sound: not implemented
Failed to load libgs.so.7: libgs.so.7: cannot open shared object file: No such file or directory
Can't load Ghostscript DLL

I guess that the libgs.so.7 is missing/corrupt, any ideas how to repair this error?


5th April 2006, 03:03 AM
Missing, probably.
locate libgs.so should show .8 not .7. So you probably have an old gsview.

yum update

12th April 2006, 07:22 PM
Thanks for your reply, and I am sorry I have not replied before. The locate command returns:

[msie02@dhcppc0 report]$ locate libgs.so

I update (using Yum) daily, so this does not help. I am pretty sure that the issue is related to ghostscript, as xdvi prints the following to the screen when an eps ought to (but is not) displayed in the viewer. I use auc-tex in combination with emacs, which also uses ghostscript and this does not work either. So I think it seems as ghostscript is broken, but how do I fix it?

12th April 2006, 07:30 PM
Sorry forgot the error:

gs: Error: /invalidaccess in --put--
gs: Operand stack:
gs: false false ct_AddStdCIDMap --nostringval-- --dict:5/29(G)-- --dict:
gs: 5/29(G)-- PermitFileReading --nostringval--
gs: Execution stack:
gs: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval--
gs: 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fals
gs: e 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %op
gs: array_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval--
gs: --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %loop
gs: _continue --nostringval-- --nostringval-- --nostringval-- false 1 %st
gs: opped_push 1 3 %oparray_pop --nostringval-- --nostringval-- false 1
gs: %stopped_push --nostringval-- 1 5 %oparray_pop 1 5 %oparray_pop
gs: 1 5 %oparray_pop 1 5 %oparray_pop .runexec2 --nostringval-- --n
gs: ostringval-- --nostringval-- 2 %stopped_push --nostringval-- 4 8 %o
gs: parray_pop --nostringval-- 4 8 %oparray_pop --nostringval-- --dict:29
gs: /29(ro)(L)-- --nostringval-- 26 %dict_continue --nostringval--
gs: Dictionary stack:
gs: --dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:101/200(L)-- --dict:23
gs: /250(L)-- --dict:48/200(L)-- --dict:48/68(L)-- --dict:2/25(L)-- --dict:0/
gs: 20(G)--
gs: Current allocation mode is global
gs: Last OS error: 2
gs: Current file position is 113906