Bug 90215 - gs: error while loading shared libraries: libgs.so.7: cannot open shared object file: No such file or directory
gs: error while loading shared libraries: libgs.so.7: cannot open shared obje...
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: gv (Show other bugs)
9
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-05-05 11:31 EDT by Ian Soboroff
Modified: 2014-03-16 22:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-05 14:46:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ian Soboroff 2003-05-05 11:31:11 EDT
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 11:49:52 EDT
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 12:21:04 EDT
Works fine for me. What does 'rpm -V gv' say?
Comment 3 Ian Soboroff 2003-05-05 13:54:53 EDT
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 14:29:26 EDT
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 14:46:04 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.