Ghostscript can`t locate init.ps

I updated my ghostscript/ghostview to the alladin edition, but when I try to start it, I get the message that it can`t find the init.ps file. But if I start the ghostview from the Alladin (/usr/share/gs4.03) directory it works fine. I have installed ghostscript in /usr/share/gs4.03 and included this directory in my paths. I`m wondering if I have to set some enviroments like GS_PATH or similiar?
janoeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jlmsCommented:
Yes, you need to supply this (or another) environment variable.

Other thing you could do is to copy the file init.ps to the direcroty from where you start Ghostscript (not very good solution) or to write a little script that starts the complete bussines:
------------------ cut here -----------
#!/bin/csh
(cd /usr/share/gs4.03; gs)
------------------ cut here -------------
and place this script (called maybe startgs.csh) in a place like /bin or any directory included in your path.



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.