Bug 90215 - gs: error while loading shared libraries: libgs.so.7: cannot open shared object file: No such file or directory
Summary: gs: error while loading shared libraries: libgs.so.7: cannot open shared obje...
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gv
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-05 15:31 UTC by Ian Soboroff
Modified: 2014-03-17 02:36 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2003-05-05 18:46:04 UTC


Attachments (Terms of Use)

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.


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