Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343447 - app-text/ghostscript-gpl: /usr/bin/gs doesn't link against /usr/lib/libgs.so
Summary: app-text/ghostscript-gpl: /usr/bin/gs doesn't link against /usr/lib/libgs.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-31 00:36 UTC by Faustus
Modified: 2014-02-12 19:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Faustus 2010-10-31 00:36:40 UTC
/usr/bin/gs doesn't link against /usr/lib/libgs.so.8.71 - instead, it appears to contain the same code as the library. This is ~6MB of duplicated code.

E.g., compare the sizes of gs and libgs, and do some greps:
  strings -a /usr/lib/libgs.so.8.71 | grep svg
  strings -a /usr/bin/gs            | grep svg
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-01-18 21:13:33 UTC
This indeed still looks the same in 9.04-r4. Needs investigation.
Comment 2 Faustus 2012-01-19 05:54:55 UTC
What's the difference between gs and gsx?
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-05-27 12:54:33 UTC
(In reply to comment #0)
> /usr/bin/gs doesn't link against /usr/lib/libgs.so.8.71 - instead, it
> appears to contain the same code as the library. This is ~6MB of duplicated
> code.
> 
> E.g., compare the sizes of gs and libgs, and do some greps:
>   strings -a /usr/lib/libgs.so.8.71 | grep svg
>   strings -a /usr/bin/gs            | grep svg

gs buildsystem is a rather arcane piece of software. Unless someone helps out with patches this bug will remain unresolved, sorry.
Comment 4 Nikoli 2012-11-05 20:45:23 UTC
ubuntu (or debian) devs somehow solved this problem:
http://packages.ubuntu.com/quantal/ghostscript

Size of /usr/bin/gs is < 230 KB and package has libgs9 dep. The answer should be in http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.06~dfsg-0ubuntu4.debian.tar.gz
Comment 5 Timo Gurr (RETIRED) gentoo-dev 2014-02-12 19:29:08 UTC
Fedora simply seems to rename/move the gsc executable to gs, I've added that change in ghostscript-gpl-9.10-r3 now as well.