Bug 90215

Summary: gs: error while loading shared libraries: libgs.so.7: cannot open shared object file: No such file or directory
Product: [Retired] Red Hat Linux Reporter: Ian Soboroff <isoboroff>
Component: gvAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-05 18:46:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Soboroff 2003-05-05 15:31:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
When using gv to view PS or PDF files, I get the following error:

gs: error while loading shared libraries: libgs.so.7: cannot open shared object
file: No such file or directory

Error: PostScript interpreter failed in main window.

I tried this with two files, one PostScript and one PDF.  "locate 'libgs*'"
didn't return any hits.  All of the GhostScript packages (ghostscript,
ghostscript-devel, ghostscript-fonts) are installed.

Version-Release number of selected component (if applicable):
gv-3.5.8-22

How reproducible:
Always

Steps to Reproduce:
1. Type 'gv poster.ps'
2. See gv failure message.
    

Expected Results:  I should be able to view the file.

Additional info:

Comment 1 Ian Soboroff 2003-05-05 15:49:52 UTC
More info.  I checked a RH8.0 box I have:
$ rpm -q ghostscript
ghostscript-7.05-20
$ rpm -ql ghostscript | grep libgs
/usr/lib/libgs.so
/usr/lib/libgs.so.7
/usr/lib/libgs.so.7.05

But on two different RH9 boxes (recent installs, all errata applied):
$ rpm -q ghostscript
ghostscript-7.05-32
$ rpm -ql ghostscript | grep libgs
$

Comment 2 Bill Nottingham 2003-05-05 16:21:04 UTC
Works fine for me. What does 'rpm -V gv' say?

Comment 3 Ian Soboroff 2003-05-05 17:54:53 UTC
Nothing...

# rpm -V gv
#

Could you do a 'rpm -qf /usr/lib/libgs.so.7' and tell me what it should say? 
Under RH8 it was part of ghostscript-7.05-20... maybe it moved, maybe by
ghostscript package was bogus.

Comment 4 Bill Nottingham 2003-05-05 18:29:26 UTC
Nothing provides it... that's why I'm wondering if there's something odd with
your  gv or gs binary.

'rpm -V ghostscript' also produces no output?

Comment 5 Ian Soboroff 2003-05-05 18:46:04 UTC
Gaah.  I have a /usr/local/bin/gs in my path from a shared /usr/local which
precedes /usr/bin in my path.  Sorry. Thanks for your help.