Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215961

Summary: libgs not detected when building libspectre
Product: Gentoo Linux Reporter: Eric Frederich <eric.frederich>
Component: [OLD] LibraryAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: major CC: bugzilla
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Frederich 2008-04-02 22:26:26 UTC
I get this ...
configure: error: You need libgs >= 8.61 in order to compile libspectre
When trying to emerge libspectre.
However, doing an emerge -s ghostscript reveals this...

*  app-text/ghostscript-gpl
      Latest version available: 8.61-r3
      Latest version installed: 8.61-r3
      Size of files: 18,645 kB
      Homepage:      http://ghostscript.com/
      Description:   GPL Ghostscript - the most current Ghostscript, AFPL, relicensed
      License:       GPL-2 CPL-1.0


Reproducible: Always

Steps to Reproduce:
emerge --sync && emerge -1 app-text/libspectre
Actual Results:  
It doesn't get emerged

Expected Results:  
It should get emerged

This happened while trying to emerge kde4 using the guide found on gentoo.org
Comment 1 Ulrich Möller 2008-04-03 21:14:22 UTC
I had the same error, and looking at the configure logs (in my case, /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log) revealed that libgs.so could not be loaded because of a broken dependency on libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me.

Does this help?
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2008-04-06 14:48:01 UTC
Try running revdep-rebuild. If it still fails afterwards, please attach the full build log and re-open this bug.
Comment 3 Eric Frederich 2008-04-06 16:26:28 UTC
(In reply to comment #1)
> I had the same error, and looking at the configure logs (in my case,
> /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log)
> revealed that libgs.so could not be loaded because of a broken dependency on
> libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me.
> 
> Does this help?
> 

Rebuilding ghostscript-gpl worked for me too, thanks.
Comment 4 Brandon Captain 2008-04-22 22:19:15 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > I had the same error, and looking at the configure logs (in my case,
> > /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log)
> > revealed that libgs.so could not be loaded because of a broken dependency on
> > libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me.
> > 
> > Does this help?
> > 
> 
> Rebuilding ghostscript-gpl worked for me too, thanks.
> 

also worked for me.
Comment 5 Thierry De Leeuw 2010-07-06 13:41:27 UTC
Also for me - dependency was for libpng12.so.0

(/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng12.so.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libgs.so, not found (try using -rpath or -rpath-link)