08-29-2003 03:36 AM
once I installed ghostview doing the following steps:
Installed the gv version for HP-UX 11.0 (my system is 11.11 TCOE). After that some libaries (/usr/local/lib/X11/libXaw3d.dl) have been missing. I installed them and it seems to run properly (I only opened ghostview without viewing a real .ps file!!).
Today I would like to open a .ps but gh complains with the following error:
"Exec of /opt/gs-5.10/bin/gs failed: No such file or directory"
Where can I obtain this files or how can I fix this otherwise?
Thanks for some hints,
Solved! Go to Solution.
08-29-2003 03:51 AM
Would you give me some times. I am tyring to fix the problem. It seems the gv is trying to find "gs" in /opt/ rather than /usr/. and even when It finds it It seem they are not compatible!!.
08-29-2003 06:56 AM
thank you very much for your help. It would be very welcome if you will find some hints to solve this.
I had a look again to my remarks when I installed the gv and the corresponding libaries (I did it from the Utah server) and I do not see any dependencies which I should have installed. Can anybody give me a list of the main dependencies, maybe one is not satisfied at all.
I leave for two weeks now but I will read through the posts in this forum and I would be very lucky to find something helpfull.
Thanks to all and best regards,
08-29-2003 07:02 AM
What version of ghostscript have you got on your system??
Download the ghostscript-7.05 ( if you already haven't got it on your system ):
set the font path:
Run "gv" again. That should work now!.
Let me know if you still have problem.
PS. I am about to update from ghostscript-7.05 to ghostscript-7.07. you may want to wait for that.
08-29-2003 12:17 PM
* GhostScript, the PS engine that Ghostview uses to show .ps documents, is not installed. Install it and use Ghostview's interface to change the path of GS.
* Ghostscript is installed but not in the correct path. Find where gs is in your system and change GS configuration.
You'll change GS path in "Advanced Options" menu option of Ghsotview.
10-07-2003 05:07 AM
finally I have to solve this problem now.
I tried all your uggestions (reinstall ghostview and export the envar) but unfortunately all did not help.
When I start gv I get the message that it is "unable to load ANY fontset" and when I try to open an .ps file I always get the message:
Exec of /opt/gs-5.10/bin/gs failed: No such file or directory
Error: PostScript interpreter failed in main window.
Do anybody have some more hints or ideas. I am really lost...
Thanks for more advices and best regards,
10-07-2003 09:03 PM
I am sorry. I did misunderstand your question in a first place. you have problem with gv not ghostscript. you download ghostscript from:
and set the font path:
And use ghostscript to view your ".ps" file.
Meanwhile I will try to fix gv. Although gv is an old program.
Let me know how you get on with ghostview.
10-07-2003 10:03 PM
thank you for your engaged help. GhostSCRIPT is running fine but I and exspecially the users of the maschine want to use ghostVIEW. Therefore it would be very nice and helpfull if you have an idea to solve the problems described. I myself have no idea.
Thanks and best regards,
10-07-2003 11:38 PM
Correspondinmg to the message
"Can not open /opt/gs-5.10/bin/gs" I made a link from my working ghostSCRIPT in /usr/local/bin/gs to the position mentioned above.
Now my ghostview can open the file but the appearance is awfull.
I installed the newst gs version which was suggested above.
Can anybody now tell me how to get the version needed or how to adapt the gv to this version?
Thanks and best regards,
P.S.: I don't mind to deinstall both and reinstall them if this is could be successfull...
10-08-2003 12:11 AM
Unfortunately another error appeared: When I trz to start ghostscript now I got themessage:
/usr/lib/dld.sl: Can't open /usr/local/lib/libz.sl. No such file or directory.
Where can I get this sl from?
Thanks in advance,
10-08-2003 12:14 AM
deinstall everything to be in a clear state.
Then install these products in this order or copy them all in one depot.
These software can all get from this server.
Klich the link above and follow the run-time dependencies.
BTW: the products will all installed in /opt /
10-08-2003 12:19 AM
libz is part of zlib.
install libz. You can also download from
I will suggest you to go by the way Roland has suggested.
10-08-2003 12:20 AM
Thanks for this answer in advance, I will try the procedure you described when I know how to uninstall.
10-08-2003 12:24 AM
I am building new gv depot file, and that should be ready very soon from:
Also to use ghostscript you need to install:
10-08-2003 12:31 AM
Then you have to go this way.
#You will get a output what you have installed.
#You will see something like this
gostscript 7.05 ghostscript7.05 ...
Do an "swremove ghostscript". To remove a product with sremove you must give swremove the first argument from the swlist output. ( I think in this case is no reboot necessary, otherwise add "-x autoreboot=true" to your command.
Do it similar to gv and other product you have installed for that installation.
2. If you have a tarball installation I think you must only remove the dirs to be clean.
10-08-2003 12:34 AM
For the bundle name check with swlist -l bundle.
10-08-2003 12:46 AM
Oliver: The problem is you didn't have and gs installed on your machine!!. Or the installation path is not in your PATH.Otherwise gv would have bypass "/opt/gs-5.10/bin/gs" and use the gs that was installed in "/usr/local/bin". You must make sure you have all the dependency installed first.
10-08-2003 12:54 AM
Best regards, Oliver
10-08-2003 12:58 AM
that is a decission what must be made by oliver. I do not know what he has really did.
I mean a clear state is a point of view where we all know how the system looks like. And that is the only point from where I can five a advice to oliver. Everything else is dancing in the dark !!!!
The recommendation for ghostview7.05 was a cut & paste. Yes I saw there is a new one. Oliver take the 7.07 version, please.
PS: are you satisfied now, mehdi =;-}
10-08-2003 01:21 AM
as I mentioned before: Thank you for your straigh and save advice to go back to a save point and walk from there. If the lazy way would not have been working I would have followed your solution. I am a little bit in a hurry, therefore I first tried to bring it up running in the short and somewhat really dark way.
Before I proceed I checked by find what is missing and installed these missing products (There were some of the targets you listed really missing, so I supposed that they are the reason. Exspecially because the messages of gv correspond with your list step by step.)).
So again a lot of thanks to everybody. It helps and gv is working now.
04-13-2004 11:30 AM
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
/usr/lib/dld.sl: Unresolved symbol: jpeg_std_error (code) from gs
I symlinked the libs from /usr/local/lib to /lib and that didn't seem to help... any ideas?