Bug 146223

Summary: gsview-4.6-8.x86_64.rpm fails to find /usr/lib64/libgs.so
Product: [Fedora] Fedora Reporter: John Ellson <john.ellson>
Component: gsviewAssignee: Rex Dieter <rdieter>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://apt.kde-redhat.org/apt/fedora/all/SRPMS.stable/gsview-4.6-9.src.rpm
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-22 16:40:53 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:
Attachments:
Description Flags
patch to gsview.spec none

Description John Ellson 2005-01-26 02:21:58 UTC
Description of problem:
gsview-4.6-8.x86_64.rpm  fails to find /usr/lib64/libgs.so

Needs a change to "Requires: libgs.so.7" in the gsview.spec

Version-Release number of selected component (if applicable):
gsview-4.6-8

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Patch follows

Comment 1 John Ellson 2005-01-26 02:23:07 UTC
Created attachment 110236 [details]
patch to gsview.spec

Comment 2 Michael Schwendt 2005-01-26 02:56:19 UTC
The patch doesn't look correct.

The x86_64 ghostscript packages provides libgs.so.7, but x86_64 RPM
knowledge is needed here:

$ rpm -qp ghostscript-7.07-33.x86_64.rpm --provides | grep libgs
libgs.so.7()(64bit) 

$ rpm -qlp ghostscript-7.07-33.x86_64.rpm | grep libgs
/usr/lib64/libgs.so
/usr/lib64/libgs.so.7
/usr/lib64/libgs.so.7.07


Comment 3 John Ellson 2005-01-26 03:37:58 UTC
I accept that it may not be the *right* patch, but it works for me
on x86_64 with only the x86_64 version of ghostscript-7.07-37
installed (no i386).

Apparently "Requires: libgs.so.7" doesn't find the version in
/usr/lib64/, but "Requires: ghostscript >= 7.07-15.3" does.

Comment 4 Michael Schwendt 2005-01-26 09:58:40 UTC
Sure, "Requires: ghostscript >= 7.07-15.3" _assumes_ that package
ghostscript >= 7.07-15.3 provides the needed libgs.so.7. We can safely
assume that, as long as we know the library soname is included in the
right place. It's still only a workaround for what the original
dependency tried to achieve.

Comment 5 Rex Dieter 2005-01-26 13:20:08 UTC
OK, goofy.  

I have no problem changing the dependancy.

Comment 6 Rex Dieter 2005-01-26 15:31:10 UTC
%changelog
* Wed Jan 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0:4.6-9
- back to Req: ghostscript >= 7.07-15.3 for x86_64 (#146223)


Comment 8 Thorsten Leemhuis 2005-03-06 14:37:34 UTC
Just noticed; this seems to be fixed in cvs. Can anybody close?

Comment 9 Rex Dieter 2005-03-06 20:22:32 UTC
I was waiting for updated/fixed binaries before closing the bug.  (And
I believe that part is my fault for not actually requesting a new
build yet)